Overview
| Artifact ID: | 5069de690100e7783e6c5a01ee60ecdb7ec32650 |
|---|---|
| Ticket: | 218250ffffffffffffffffffffffffffffffffff
clock scan Bug |
| User & Date: | nobody on 2000-10-26 00:55:03 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 2843 Bug Version: 8.2 SubmitDate: '1999-09-20' LastModified: '1999-09-20' Severity: MED Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Other OSVersion: Linux SuSE 6.2 Machine: NA FixedDate: '2000-10-25' ClosedDate: '1999-09-20' Name: Marc Ziegenhagen ReproducibleScript: I woud like to work with the clock scan function but it those not right. I like to convert Dates older than 1970 but this not works correctly. The Date 8. April 1968 does not work, but the 8. April 1969 works and also the 8. April 1988. An other Question what it brings back when the systemdate is in 2000 or higher is the default of the value who will be added to 2 digit-Year 2000 or 1900? In the manual it's writen 1900! ObservedBehavior: clock scan "4/8/68 0:0:0"==>unable to convert date-time string "4/8/68 0:0:0" clock scan "4/8/69 0:0:0"==>-23158800 clock scan "4/8/88 0:0:0"==>576453600 DesiredBehavior: I will see a minus value like the other one. This is not a bug. The epoch on Unix starts in 1969, and the time function allows dates in that year, but not earlier. You see the negative number for dates before Dec 31, 1969 (the actual day of the epoch). You need to build a more generic layer to support dates outside of what Unix normally provides. For Y2K info, see http://www.scriptics.com/Y2K.html (Tcl is Y2K safe). -- 09/20/1999 hobbs - foundin changed to: "obsolete: 8.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "clock scan Bug"
- type changed to: "Bug"