Skip to content
Tcl Source Code History Of Ticket 218510
Login

History Of Ticket 218510

Artifacts Associated With Ticket 218510

  1. Ticket change [dd1f876512] (rid 114604) by nobody on 2000-10-26 01:01:29:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 784 Bug
      Version: 8.0.3
      SubmitDate: '1998-11-02'
      LastModified: '2000-01-12'
      Severity: SER
      Status: Released
      Submitter: pat
      ChangedBy: hobbs
      RelatedBugIDs: 740
      OS: Windows NT
      OSVersion: sp3 and AIX
      FixedDate: '2000-01-12'
      FixedInVersion: 8.3b2
      ClosedDate: '1999-10-29'
      
      
      From: [email protected]
      
      ReproducibleScript:
      Running on AIX
      % clock format [clock scan "oct 1, 1998 12:00am 1 month"]
      Sun Nov 01 00:00:00 PST 1998
      % clock format [clock scan "oct 1, 1998 12:00am 1 month" -gmt 1] -gmt 1
      Sat Oct 31 01:00:00 PST 1998
      % puts $tcl_version
      8.0
      
      running on Win32 (NT4 SP4)
      % clock format [clock scan "oct 1, 1998 12:00am 1 month"]
      Sun Nov 01 00:00:00 Pacific Daylight Time 1998
      % clock format [clock scan "oct 1, 1998 12:00am 1 month" -gmt 1] -gmt 1
      Sat Oct 31 01:00:00 Pacific Daylight Time 1998
      % puts $tcl_version
      8.0
      
      ObservedBehavior:
      in order to get around the following problem of day based adjustments being
      affected by daylight savings time
      % clock format [clock scan "oct 25, 1998 12:00am 1 day"]
      Sun Oct 25 23:00:00 Pacific Daylight Time 1998
      % clock format [clock scan "oct 25, 1998 12:00am 1 week"]
      Sat Oct 31 23:00:00 Pacific Daylight Time 1998
      % clock format [clock scan "oct 25, 1998 12:00am 1 month"]
      Wed Nov 25 00:00:00 Pacific Daylight Time 1998
      
      i tried to use GMT everywhere, but the adjustment by 1 month does not work right.
      
      DesiredBehavior:
      % clock format [clock scan "oct 1, 1998 12:00am 1 month"]
      Sun Nov 01 00:00:00 Pacific Daylight Time 1998
      % clock format [clock scan "oct 1, 1998 12:00am 1 month" -gmt 1] -gmt 1
      Sun Nov 01 00:00:00 Pacific Daylight Time 1998
      
      Comments:
      the command 
      % clock format [clock scan "oct 25, 1998 12:00am 24 hours"]
      Sun Oct 25 23:00:00 Pacific Daylight Time 1998
      
      would be fine, but I think that
      % clock format [clock scan "oct 25, 1998 12:00am 1 day"]
      should yield
      Sun Oct 26 00:00:00 Pacific Daylight Time 1998
      
      
      
      The -gmt setting was fixed in 8.1. 
      -- 10/29/1999 hobbs
      OK, the clock DST corrections were redone for 8.3b2 to work as
      expected (desired above).  Note that the user comments that
      they want:
      
        % clock format [clock scan "oct 25, 1998 12:00am 1 day"]
        should yield
        Sun Oct 26 00:00:00 Pacific Daylight Time 1998
      
      When it now returns:
      
      (win) 49 % clock format [clock scan "oct 25, 1998 12:00am 1 day"]
      Mon Oct 26 00:00:00 Pacific Standard Time 1998
      (win) 50 % clock format [clock scan "oct 25, 1998 12:00am 24 hours"]
      Sun Oct 25 23:00:00 Pacific Standard Time 1998
      
      The different TZ is all that differs, but that is what is correct. 
      -- 01/12/2000 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "48. Number Handling"
    10. title initialized to:
      clock scan adjustment errors when using gmt setting
      
    11. type initialized to: "Bug"
  2. Ticket change [456baedfe3] (rid 99347) by welch on 2000-10-26 08:23:19:

    1. closedate changed to: "2000-10-26T01:23:19"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [c629a21d76] (rid 121717) by dgp on 2001-04-05 06:56:33:

    1. closedate changed to: "2001-04-04T23:56:33"
    2. closer changed to: "dgp"
    3. subsystem changed to: "06. Time Measurement"