Skip to content
Tcl Source Code History Of Ticket 5019748c731bb93d
Login

History Of Ticket 5019748c731bb93d

Artifacts Associated With Ticket 5019748c731bb93d

  1. Ticket change [2c736dc179] (rid 142456) by sebres on 2015-07-08 10:04:59:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. 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
      
    5. is_private initialized to: "0"
    6. login: "sebres"
    7. priority initialized to: "5 Medium"
    8. resolution initialized to: "None"
    9. severity initialized to: "Minor"
    10. status initialized to: "Open"
    11. submitter initialized to: "sebres"
    12. subsystem initialized to: "16. Commands A-H"
    13. title initialized to:
      FreeScan resp. Oldscan does not recognize positive time zone offset like  "31 Jan 14 23:59:59 +0100"
      
    14. type initialized to: "Bug"
  2. Ticket change [bb279300c7] (rid 142457) by sebres on 2015-07-08 10:06:10:

    1. login: "sebres"
    2. mimetype: "text/plain"
    3. resolution changed to: "Fixed"
    4. status changed to: "Pending"
  3. Ticket change [ec7a36449d] (rid 142458) by sebres on 2015-07-08 10:14:00:

    1. icomment:
      Because of possible conflict needs testing, so testers are welcome.
      
    2. login: "sebres"
    3. mimetype: "text/plain"
  4. Ticket change [09f116d8b4] (rid 142460) by dgp on 2015-07-08 14:33:46:

    1. assignee changed to: "kbk"
    2. login: "dgp"
    3. mimetype: "text/plain"
  5. Ticket change [c0ae25f9e1] (rid 142605) by sebres on 2015-07-28 10:47:12:

    1. icomment: "ping (someone has tested?)"
    2. login: "sebres"
    3. mimetype: "text/plain"
  6. Ticket change [6114e9ba37] (rid 157395) by sebres on 2017-10-28 13:37:24:

    1. 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.
      
    2. login: "sebres"
    3. mimetype: "text/x-fossil-wiki"
  7. Ticket change [b0ab3f8385] (rid 184392) by jan.nijtmans on 2020-07-09 08:00:08:

    1. assignee changed to: "jan.nijtmans"
    2. foundin changed to: "8.6"
    3. 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.
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
  8. Ticket change [674c14bd08] (rid 184451) by jan.nijtmans on 2020-07-10 10:42:51:

    1. closedate changed to: "2459040.94642517"
    2. closer changed to: "jan.nijtmans"
    3. 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 .....
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. status changed to: "Closed"
  9. Ticket change [46ec46edbf] (rid 184454) by dgp on 2020-07-10 18:43:55:

    1. closedate changed to: "2459041.28050736"
    2. closer changed to: "dgp"
    3. 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
      
    4. login: "dgp"
    5. mimetype: "text/plain"
  10. Ticket change [5f0d11e1fe] (rid 184473) by jan.nijtmans on 2020-07-13 08:46:44:

    1. closedate changed to: "2459043.86579517"
    2. closer changed to: "jan.nijtmans"
    3. 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.
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"