Overview
| Artifact ID: | dc90226379d9a518c74ea224a8b16229729d9169 |
|---|---|
| Ticket: | 3531146fffffffffffffffffffffffffffffffff
clock scan does not error when missing undelimited fields |
| User & Date: | dkf on 2013-11-12 12:37:01 |
Changes
- 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"