Bugzilla – Bug 3516
New Calendar.parse specifier for seconds since Epoch
Last modified: 2003-10-03 21:43:37 CET
To make a logfile searcher I am writing easier to process, I need to be
able to parse squid logfile timestamps which use time_t.fraction format:
1065019763.300 796 22.214.171.124 TCP_MISS/200 9401 GET
http://community.roxen.com/crunch/ - DIRECT/126.96.36.199 text/html
The current %s format doesn't work because that allows only 0-59, and also
is relative from now().
The attached patch lets you do:
(8) Result: Fraction(Wed 1 Oct 2003 9:49:23.300000 CDT)
Created an attachment (id=232) [details]
The patch, for 7.4 and 7.5
Similar patch applied in both 7.4 and 7.5.
Thanks for the quick turnaround!
You need to
before you can comment on or make changes to this bug.