Overview
| Artifact ID: | 39967038ef2481b36d5eb10cdffe327a83cfdb90 |
|---|---|
| Ticket: | 3531146fffffffffffffffffffffffffffffffff
clock scan does not error when missing undelimited fields |
| User & Date: | bovineone on 2012-05-31 18:24:56 |
Changes
- assignee changed to: "kennykb"
- cmimetype changed to: "text/plain"
- 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
- foundin changed to: "obsolete: 8.5.11"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "bovineone"
- subsystem changed to: "06. Time Measurement"
- title changed to:
clock scan does not error when missing undelimited fields
- type changed to: "Bug"