Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 273331ec1ba266de1c0cef563d9ed555e0c98747
Ticket: 219005ffffffffffffffffffffffffffffffffff
Wrong clock scan for 28 March 1999
User & Date: nobody on 2000-10-26 01:09:13
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3868 Bug
    Version: 8.0.3
    SubmitDate: '1999-12-13'
    LastModified: '2000-01-12'
    Severity: MED
    Status: Released
    Submitter: techsupp
    ChangedBy: ericm
    OS: Linux-Red Hat
    OSVersion: Red Hat 5.2
    Machine: AMD K6-350 MHz
    FixedDate: '2000-01-12'
    FixedInVersion: 8.3b2
    ClosedDate: '2000-10-25'
    
    
    Name:
    Constantin Teodorescu
    
    Extensions:
    Tcl 8.0.3
    
    Comments:
    It will be nice if clock command would have an options for computing date differences (in days).
    
    ReproducibleScript:
    Invoke tclsh and make some calculations:
    
    % set t1 [clock scan "03/26/1999 + 1 day"]
    922485600
    % set t2 [clock scan "03/27/1999"]
    922485600 
    
    t1 and t2 should be (and they are equal for the above test)
    Now try with a day later:
    
    % set t1 [clock scan "03/27/1999 + 1 day"]
    922572000
    % set t2 [clock scan "03/28/1999"]
    922568400 
    
    t1 and t2 are not longer equal! Why ?
    
    DesiredBehavior:
    t1 should be equal with t2 in any cases
    
    
    
    This problem was due to a bug in the way we handled relative times as they crossed a daylight savings time boundary.  The bug has been fixed in 8.3b2.
    
    - eric
    
    -- 01/12/2000 ericm
    
    
    
  4. foundin changed to: "obsolete: 8.0.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "48. Number Handling"
  10. title changed to: "Wrong clock scan for 28 March 1999"
  11. type changed to: "Bug"