Artifacts Associated With Ticket 5019748c731bb93d
Ticket change [2c736dc179] (rid 142456) by sebres on 2015-07-08 10:04:59:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
FreeScan resp. Oldscan does not recognize positive time zone offset like "31 Jan 14 23:59:59 +0100". % clock scan "31 Jan 14 23:59:59 -0100" 1391216399 % clock scan "31 Jan 14 23:59:59 +0100" unable to convert date-time string "31 Jan 14 23:59:59 +0100": syntax error (characters 24-24) Fixed within [5f72c863f17145b4ca20de5b44ad12a35d657dac]. Additionally fixes another worse issue, invalid recognition a relative time (relspec) as time zone, example: % clock format [clock scan "31 Jan 14 23:59:59 -100 days"] -format "%D %T" 02/02/2014 01:59:59 Should recognize here a relspec (day unit) not TZ, so the value is imho invalid. Execution in new version: % clock format [clock scan "31 Jan 14 23:59:59 -100 days"] -format "%D %T" 10/23/2013 23:59:59
- is_private initialized to: "0"
- login: "sebres"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "sebres"
- subsystem initialized to: "16. Commands A-H"
- title initialized to:
FreeScan resp. Oldscan does not recognize positive time zone offset like "31 Jan 14 23:59:59 +0100"
- type initialized to: "Bug"
Ticket change [bb279300c7] (rid 142457) by sebres on 2015-07-08 10:06:10:
- login: "sebres"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Pending"
Ticket change [ec7a36449d] (rid 142458) by sebres on 2015-07-08 10:14:00:
- icomment:
Because of possible conflict needs testing, so testers are welcome.
- login: "sebres"
- mimetype: "text/plain"
- icomment:
Ticket change [09f116d8b4] (rid 142460) by dgp on 2015-07-08 14:33:46:
- assignee changed to: "kbk"
- login: "dgp"
- mimetype: "text/plain"
Ticket change [c0ae25f9e1] (rid 142605) by sebres on 2015-07-28 10:47:12:
- icomment: "ping (someone has tested?)"
- login: "sebres"
- mimetype: "text/plain"
Ticket change [6114e9ba37] (rid 157395) by sebres on 2017-10-28 13:37:24:
- icomment:
I've rewritten this handling for new clock-engine, see <a href="https://github.com/sebres/tclclockmod/pull/9">tclclockmod/#9</a>. Additionally rewritten the free scan yacc rules and some tokens for better space recognition, fewer conflicts (shift/reduce, reduce/reduce); Differentiate between TZ like "GMT+1" and relative offsets "GMT +1 day", etc.; Test-cases extended for new cases.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [b0ab3f8385] (rid 184392) by jan.nijtmans on 2020-07-09 08:00:08:
- assignee changed to: "jan.nijtmans"
- foundin changed to: "8.6"
- icomment:
Whow, another clock-related bug which has a fix, but was untouched for 5 years.... Solution separated in its own branch: [4f71ead4a98a0e6c]. Let's see what Travis thinks of this and then merge to core-8-6-branch.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [674c14bd08] (rid 184451) by jan.nijtmans on 2020-07-10 10:42:51:
- closedate changed to: "2459040.94642517"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed now in core-8-6-branch and up. @sebres, this doesn't contain the enhancements in the new clock-engine, as mentioned 2017-10-28, so if you like to backport those to bare Tcl 8.6 too .....
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Closed"
Ticket change [46ec46edbf] (rid 184454) by dgp on 2020-07-10 18:43:55:
- closedate changed to: "2459041.28050736"
- closer changed to: "dgp"
- icomment:
New test failures on core-8-6-branch, I think from this work: ==== clock-34.61 clock scan tests (-TZ) FAILED ==== Contents of test case: set time [clock scan "23:59:59 -0100" -base 0] clock format $time -format {%b %d,%Y %H:%M:%S %Z} -gmt true ---- Result was: Jan 01,1970 00:59:59 GMT ---- Result should have been (exact matching): Jan 02,1970 00:59:59 GMT ==== clock-34.61 FAILED ==== clock-34.62 clock scan tests (+TZ) FAILED ==== Contents of test case: set time [clock scan "23:59:59 +0100" -base 0] clock format $time -format {%b %d,%Y %H:%M:%S %Z} -gmt true ---- Result was: Dec 31,1969 22:59:59 GMT ---- Result should have been (exact matching): Jan 01,1970 22:59:59 GMT ==== clock-34.62 FAILED ==== clock-34.67 clock scan tests (merid and TZ) FAILED ==== Contents of test case: set time [clock scan "10:59 pm CET" -base 2000000] clock format $time -format {%b %d,%Y %H:%M:%S %Z} -gmt true ---- Result was: Jan 23,1970 21:59:00 GMT ---- Result should have been (exact matching): Jan 24,1970 21:59:00 GMT ==== clock-34.67 FAILED ==== clock-34.68 clock scan tests (merid and TZ) FAILED ==== Contents of test case: set time [clock scan "10:59 pm +0100" -base 2000000] clock format $time -format {%b %d,%Y %H:%M:%S %Z} -gmt true ---- Result was: Jan 23,1970 21:59:00 GMT ---- Result should have been (exact matching): Jan 24,1970 21:59:00 GMT ==== clock-34.68 FAILED - login: "dgp"
- mimetype: "text/plain"
Ticket change [5f0d11e1fe] (rid 184473) by jan.nijtmans on 2020-07-13 08:46:44:
- closedate changed to: "2459043.86579517"
- closer changed to: "jan.nijtmans"
- icomment:
@dgp, those 4 test-cases should be fixed now. Since the "-base" option doesn't imply "-gmt true", those testcases were timezone-dependent. Apparently, for negative timezones they fail therefore sebres and I didn't notice this. It looks like Travis operates in timezone GMT. That's useful, so we now can be reasonable sure that they work for all timezones.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"