Skip to content
Tcl Source Code History Of Ticket 1988794
Login

History Of Ticket 1988794

Artifacts Associated With Ticket 1988794

  1. Ticket change [85cb9b193e] (rid 131380) by nobody on 2008-06-09 10:48:18:

    1. assignee initialized to: "kennykb"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      TCL 8.4.19 on Windows XP
      TCL 8.4.11 and .19 on Solaris SPARC
      
      clock scan "x day y sec" gives parse errors in summertime between 22:00 and 22:59:59 an on the day of change to wintertime
      
      # tclsh datebug.tcl
      datebug.tcl:    Total   12      Passed  7       Skipped 0       Failed  5
      
      All tests should run correctly.
      
      Bug 1811495 - clock scan (possible?) discrepancy seems to be related
      
      mailto:[email protected]
      
      
      
    4. foundin initialized to: "obsolete: 8.4.19"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nobody"
    10. subsystem initialized to: "06. Time Measurement"
    11. title initialized to: "clock scan parse errors in summertime"
    12. type initialized to: "Bug"
  2. Add attachment "datebug.tcl" [cd898155f7] (rid 95906) by nobody on 2008-06-09 17:48:19.

  3. Ticket change [4187b3482a] (rid 116204) by nobody on 2008-06-09 17:48:19:

    1. icomment:
      
      
      File Added - 280727: datebug.tcl
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  4. Ticket change [f7ee64e237] (rid 91451) by kennykb on 2008-06-10 07:49:20:

    1. icomment:
      Logged In: YES 
      user_id=99768
      Originator: NO
      
      Can you please give me the timezone in which these tests are supposed to fail?  I do see "failing" tests, but not the same set that you report.
      
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  5. Ticket change [bda83193ef] (rid 101942) by kennykb on 2008-06-10 08:39:56:

    1. closedate changed to: "2008-06-10T01:39:56"
    2. closer changed to: "kennykb"
    3. icomment:
      Logged In: YES 
      user_id=99768
      Originator: NO
      
      I'm repeating your tests in 8.5, and assuming that you are in Germany,
      so I'm using TCL_TZ=:Europe/Berlin and a de_de locale.
      
      In 8.5.2, your first ten tests all function as you expect.
      
      The next-to-last test appears to exercise a bug in your testing.
      You are scanning for 22 hours 59 minutes 59 seconds from the
      start date of 26 October 2008:
      
      % expr 31+29+31+30+31+30+31+31+30+26+ 8*365 + 1
      3221
      % clock format [clock scan "3221 days" -base 946681200] -format {%X %x} -locale de_de
      00:00:00 26.10.2008
      
      To this quantity you are adding 22 hours 59 minutes 59 seconds, and apparently expecting
      a result of 22:59:59 on the same day. 
      
      % clock format [clock scan "3221 days 22 hours 59 minutes 59 seconds" -base 946681200] -format {%X %Z %x} -locale de_de
      21:59:59 CET 26.10.2008
      
      But Summer Time will have ended at 01:00 UTC on that day, according to
      
      http://eur-lex.europa.eu/smartapi/cgi/sga_doc?smartapi!celexapi!prod!CELEXnumdoc&lg=EN&numdoc=32000L0084&model=guichett
      
      So 22 hours 59 minutes from the given time is 21:59:59 by the clock.
      
      Had you tested 2 hours 59 minutes 59 seconds (2 hours instead of 22), you would have indeed found the time at which Summer Time ends:
      
      % clock format [clock scan "3221 days 2 hours 59 minutes 59 seconds" -base 946681200] -format {%X %Z %x} -locale de_de
      02:59:59 CEST 26.10.2008
      (200002852) 29 % clock format [clock scan "3221 days 3 hours" -base 946681200] -format {%X %Z %x} -locale de_de
      02:00:00 CET 26.10.2008
      
      Since the first ten of your tests function correctly in the current release, while the last two appear to reflect a misunderstanding of the time that the EU clocks change, I'm closing this bug.
      
      
    4. login: "kennykb"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Pending"
    8. username: "kennykb"
  6. Ticket change [efc1bb8eae] (rid 109054) by sf-robot on 2008-06-24 09:20:08:

    1. closedate changed to: "2008-06-24T02:20:08"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      Originator: NO
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"