Overview
| Artifact ID: | 73294a18ed6e1062b540469bb49d81fbe7d816eb |
|---|---|
| Ticket: | 217857ffffffffffffffffffffffffffffffffff
generic/tclDate.c incorrect leap year handling |
| User & Date: | nobody on 2000-10-26 00:44:58 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1985 Bug Version: 8.0.5 SubmitDate: '1999-05-04' LastModified: '1999-05-14' Severity: MED Status: Closed Submitter: pat ChangedBy: pat RelatedBugIDs: 2066 OS: All OSVersion: NA Machine: NA FixedDate: '2000-10-25' FixedInVersion: NA ClosedDate: '1999-05-14' Name: Isaac Hollander email: [email protected] Support: None Severity: 3 OperatingSystem: Sun Solaris Synopsis: generic/tclDate.c incorrect leap year handling ReproducibleScript: the Convert() routine incorrectly handles leap years such as 1900, 2000, 2100, etc. You correctly determine the number of days in February for the current year, but later simply check for divisibility by 4 when accumulating the number of days in all previous years. You need to determine leapness consistently in the correct way.
- foundin changed to: "final: 8.0.5"
- 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: "generic/tclDate.c incorrect leap year handling"
- type changed to: "Bug"