Skip to content
Tcl Source Code History Of Ticket 218376
Login

History Of Ticket 218376

Artifacts Associated With Ticket 218376

  1. Ticket change [acc33c856c] (rid 101348) by nobody on 2000-10-26 00:56:51:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 4316 Bug
      Version: 8.1
      SubmitDate: '2000-03-06'
      LastModified: '2000-03-10'
      Severity: MED
      Status: Closed
      Submitter: techsupp
      ChangedBy: ericm
      OS: Windows NT
      OSVersion: Windows NT
      Machine: IBM Compatible
      FixedDate: '2000-10-25'
      ClosedDate: '2000-03-10'
      
      
      Name:
      Christian G. Jantz
      
      Extensions:
      None
      
      CustomShell:
      None
      
      ReproducibleScript:
      I have been experiment with Tcl80 and Tcl81. The clock scan command does not always return the date which I expect.
      When I run this two line program, if I use tcl80, I get 10/30/00. If I use tcl81, I get 10/29/00.
      set GoalDate [ clock format [ clock scan "10/29/00 1 days" ] -format "%D" ]
      puts "$GoalDate"
      
      ObservedBehavior:
      The date being returned is not what I expect.
      
      
      
      This is most likely because of the daylight savings time rollover that occurs on that date.  Without knowing what timezone you are in, I cannot be 100% certain that is the problem you are seeing, but I am reasonably confident that it is.
      
      The problem has been fixed as of 8.3.0, in which we overhauled parts of the clock scan subsystem so that it would handle DST conversions properly.  Now with 8.3.0, I see the following result:
      
      % info patch
      8.3.0
      % clock format [clock scan "10/29/00 1 days"]
      Mon Oct 30 00:00:00 PST 2000
      % 
      
      - eric
      
      -- 03/10/2000 ericm
      
      
      
    4. foundin initialized to: "obsolete: 8.1"
    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: "69. Other"
    10. title initialized to:
      Command [clock scan "10/29/00 1 days"] returns incorrect dat
      
    11. type initialized to: "Bug"
  2. Ticket change [62079cbc94] (rid 92342) by welch on 2000-10-26 08:21:16:

    1. closedate changed to: "2000-10-26T01:21:16"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [5280c76253] (rid 126325) by dgp on 2001-04-18 06:44:04:

    1. closedate changed to: "2001-04-17T23:44:04"
    2. closer changed to: "dgp"
    3. subsystem changed to: "06. Time Measurement"
    4. title changed to:
      Command [clock scan "10/29/00 1 days"] returns incorrect dat