Overview
| Artifact ID: | 8027b33bdd897002066981a47cd0f7af43ff2265 |
|---|---|
| Ticket: | 961714ffffffffffffffffffffffffffffffffff
invalid use of %g %G in tests |
| User & Date: | kennykb on 2004-05-28 01:32:57 |
Changes
- closedate changed to: "2004-05-27T18:32:57"
- closer changed to: "kennykb"
- icomment:
Logged In: YES user_id=99768 %g/%G are NOT synonymous with %y/%Y. %y/%Y are the year of the Gregorian calendar. %g/%G are the year of the ISO8601 week-based calendar, which may differ from the Gregorian year in the first or last week of the year. The next time at which they differ is 2004-12-27, which is 2005-W01-1. It's actually (IMO) a bug in strftime on HP and AIX that they don't support %G, since %V makes no sense without it. The fix changes the 50-odd test failures to one, by testing that %G works at all before trying to run the tests that check that it actually gives correct answers.
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "kennykb"