clock scan with -base problem
Closed / Fixed218314ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:56:02
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
welch Closed ticket [218314ffff].
[History diff]2000-10-26 08:19:00
dgp Ticket [218314ffff]: 3 changes
[History diff]2001-04-05 06:56:34
Log in (anonymous is fine) to add a comment.