Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a07c7fe86ec05f35459e271ec92bf932f8b4283e
Ticket: 500285ffffffffffffffffffffffffffffffffff
clock format - wrong ISO8601 week number
User & Date: nobody on 2002-01-07 06:45:47
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hello!
    
    clock format [clock seconds] -format "%W"
    
    returns 1 for 2002-01-07 (today), although the
    first week of 2002 lasted from 2001-12-31 to
    2002-02-06.
    
    The first week of a year is the one with the
    majority of days in it. Or, resulting the same,
    the first week with a thursday in it, is week
    number 1.
    
    So, 2002-01-03 was a thursday, so that week is
    week number 1.
    
    Sincerely
    
    Holger Jakobs, [email protected]
    
  4. foundin changed to: "obsolete: 8.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "06. Time Measurement"
  10. title changed to: "clock format delivers wrong week number"
  11. type changed to: "Bug"