Overview
| Artifact ID: | 273331ec1ba266de1c0cef563d9ed555e0c98747 |
|---|---|
| Ticket: | 219005ffffffffffffffffffffffffffffffffff
Wrong clock scan for 28 March 1999 |
| User & Date: | nobody on 2000-10-26 01:09:13 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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
- foundin changed to: "obsolete: 8.0.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "48. Number Handling"
- title changed to: "Wrong clock scan for 28 March 1999"
- type changed to: "Bug"