Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8027b33bdd897002066981a47cd0f7af43ff2265
Ticket: 961714ffffffffffffffffffffffffffffffffff
invalid use of %g %G in tests
User & Date: kennykb on 2004-05-28 01:32:57
Changes

  1. closedate changed to: "2004-05-27T18:32:57"
  2. closer changed to: "kennykb"
  3. 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.
    
    
  4. login: "kennykb"
  5. mimetype: "text/plain"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"
  8. username: "kennykb"