Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c29ffbc2d95e79b32029a6607651b53c4f9442fc
Ticket: 218671ffffffffffffffffffffffffffffffffff
Timer handler is not working correctly with daylight saving
User & Date: nobody on 2000-10-26 01:03:57
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1690 Bug
    Version: 8.0.5
    SubmitDate: '1999-04-01'
    LastModified: '2000-01-12'
    Severity: MED
    Status: Released
    Submitter: pat
    ChangedBy: ericm
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '2000-01-12'
    FixedInVersion: 8.3b2
    ClosedDate: '2000-10-25'
    
    
    Tcl timer handler is not firing at the right time when we change to daylight saving time.
    
    
    
    04/01/1999 14:33 - pat -According to Scott Stanton, we are not calculating the time based on GMT so it can be off 1 hour depending on whether we are on daylight saving or not.
    --
    This needs further definition.  In what way is the timer handler not
    working correctly?  If you specify:
        after 3600000 [list puts done]
    This will ask for something to be rescheduled in one hour.  Do you
    expect this to trigger in the absolute number of seconds specified
    in the after (that's what I'd expect - haven't checked behavior),
    or did you expect it to trigger in 1 hour - according to the clock? 
    -- 01/12/2000 hobbs
    
    This is fixed in 8.3b2:
    
    (on Linux)
    date --set 10/31/1999 1:59:00
    set t [clock seconds]; after 120000 {puts "$t; [clock seconds]"}
    # 120 seconds later, we see...
    941363940; 941364060
    
    (on Windows NT)
    (use control panel to set clock to 10/31/99, 01:59:00)
    set t [clock seconds]; after 120000 {puts "$t; [clock seconds]"}
    # 120 seconds later, we see...
    941363940; 941364060
    
    We see the same behaviour for the "spring ahead" transition on April 2, 2000 1:59:00.
    
    - eric
    
    -- 01/12/2000 ericm
    
    
    
  4. foundin changed to: "final: 8.0.5"
  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:
    Timer handler is not working correctly with daylight saving 
    
  11. type changed to: "Bug"