Artifacts Associated With Ticket 3531146fffffffffffffffffffffffffffffffff
Ticket change [39967038ef] (rid 112418) by bovineone on 2012-05-31 18:24:56:
- assignee initialized to: "kennykb"
- cmimetype initialized to: "text/plain"
- comment initialized to:
In the following example, the first string being parsed is missing the seconds needed for the %S parameter, so it chooses to put one of the digits in the minutes field and one of them in the seconds field instead: clock scan "1205311743" -format "%y%m%d%H%M%S" -gmt 1 1338483843 clock format 1338483843 -gmt 1 Thu May 31 17:04:03 GMT 2012 The expected behavior would probably to treat the missing seconds as zero, or to raise an error: clock scan "120531174300" -format "%y%m%d%H%M%S" -gmt 1 1338486180
- foundin initialized to: "obsolete: 8.5.11"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "bovineone"
- subsystem initialized to: "06. Time Measurement"
- title initialized to:
clock scan does not error when missing undelimited fields
- type initialized to: "Bug"
Ticket change [fa6c7a048d] (rid 91872) by bovineone on 2012-06-01 01:54:06:
- icomment:
Note that the documentation for clock says that both %M and %S only accept 2 digits on input (and not 1 or 2 digits).
- login: "bovineone"
- mimetype: "text/plain"
- username: "bovineone"
- icomment:
Ticket change [e901fec5b4] (rid 104738) by sebres on 2012-06-01 13:34:41:
- closedate changed to: "2012-06-01T06:34:41"
- closer changed to: "sebres"
- icomment:
duplicate of 3475995 (already solved - see attached patch in it, but not yet in branch).
- login: "sebres"
- mimetype: "text/plain"
- resolution changed to: "Duplicate"
- status changed to: "Pending"
- username: "sebres"
Ticket change [dc90226379] (rid 135559) by dkf on 2013-11-12 12:37:01:
- assignee changed to: "aku"
- closedate changed to: "2456609.02571477"
- closer changed to: "dkf"
- comment changed to:
In the following example, the first string being parsed is missing the seconds needed for the %S parameter, so it chooses to put one of the digits in the minutes field and one of them in the seconds field instead: clock scan "1205311743" -format "%y%m%d%H%M%S" -gmt 1 1338483843 clock format 1338483843 -gmt 1 Thu May 31 17:04:03 GMT 2012 The expected behavior would probably to treat the missing seconds as zero, or to raise an error: clock scan "120531174300" -format "%y%m%d%H%M%S" -gmt 1 1338486180
- login: "dkf"
- mimetype: "text/plain"
- severity changed to: "Minor"
- status changed to: "Closed"