Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8d349e40f180156c68d01817753c8e4ace409ce5
Ticket: 218314ffffffffffffffffffffffffffffffffff
clock scan with -base problem
User & Date: nobody on 2000-10-26 00:56:02
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3757 Bug
    Version: 8.2.2
    SubmitDate: '1999-12-02'
    LastModified: '1999-12-03'
    Severity: SER
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Windows 95
    FixedDate: '2000-10-25'
    ClosedDate: '1999-12-03'
    
    
    Name:
    Keith MacEwen
    
    ReproducibleScript:
    # Get a base date
    % clock format [clock scan 10/25]
    Mon Oct 25 00:00:00 Atlantic Daylight Time 1999
    
    # 6 days from this base date is ok
    % clock format [clock scan "6 days" -base [clock scan 10/25]]
    Sun Oct 31 00:00:00 Atlantic Daylight Time 1999
    
    # 7 days is behind 1 hour (new month could be the problem)
    % clock format [clock scan "7 days" -base [clock scan 10/25]]
    Sun Oct 31 23:00:00 Atlantic Standard Time 1999
    %
    
    ObservedBehavior:
    The scan is one hour behind when it tries to go to the next month. 8 days will be 11 pm on Nov 1.
    clock format [clock scan "8 days" -base [clock scan 10/25]]
    Mon Nov 01 23:00:00 Atlantic Standard Time 1999
    
    DesiredBehavior:
    I want it to go to midnight Nov 1, not 11pm on the 31st
    
    
    
    The problem was not the new month, but rather that the DST
    crossover was crossed, so you do have a one hour change
    over the span of days. 
    -- 12/03/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2.2"
  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: "clock scan with -base problem"
  11. type changed to: "Bug"