Overview
| Artifact ID: | 701774f27a79955abb4ceec23cb0c8f03d9da1bf1f4c0f2b84843a014e834e56 |
|---|---|
| Ticket: | f2b5f89c0d8520ea86b929daa19ec13fc3a24d2d
clock scan of leapsecond: wrong result in 8.6 and 9.0 |
| User & Date: | jan.nijtmans on 2024-11-20 21:34:15 |
Changes
- icomment:
Thanks for all your examples! I know it's complicated, but it appears to be working now (I always like a challenge ...): <pre> $ tclsh9.0 % clock scan "Sat Jun 30 23:59:60 GMT 2012" 1341100800 % clock scan "Sun Jul 01 01:59:60 CEST 2012" 1341100800 % clock scan "Sat Jun 30 19:59:60 EDT 2012" 1341100800 % clock scan "Sun Jul 01 09:29:60 ACST 2012" unable to convert date-time string "Sun Jul 01 09:29:60 ACST 2012": syntax error (characters 20-23) % clock scan "Sun Jul 01 08:44:60 +0845 2012" 1341100800 </pre> Let's try to fool it: <pre> % clock scan "Sun Jun 30 23:59:60 GMT 2012" unable to convert input string: invalid day of week </pre> The "ACST" timezone is - apparently - unkown to the parser, but all of them give the right answer now. Thanks for all your input! - login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"