Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0b8b2c4887fcadb6ab0f1952789727ba7b0924b2
Ticket: 500389ffffffffffffffffffffffffffffffffff
clock format - wrong ISO8601 week number
User & Date: nobody on 2002-01-07 13:30:29
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The clock format command prints incorrect weeks
    around the beginning of 2002.
    
    In week 01/2002 it printed 53/2001 and now
    in the week 02/2001 it prints week 01.
    
    Example:
    
    
    hesjhe@hesws6:~ $ /kopt/tcltk/bin/tclsh8.3 
    % clock seconds
    1010410133
    % clock format 1010410133 -format %W
    01
    % clock format 1010410133
    Mon Jan 07 15:28:53 EET 2002
    % 
    
    The bug seems to be platform and minor release
    independent, I can reproduce it with:
    -RedHat Linux 7.2, tcl patchlevel 8.3.1
    -W2K, ActiveTCL, tcl patchlevel 8.3.4
    -SGI Irix 5.3, tcl patchlevel 8.3.4
    -HP-UX 10.20, tcl patchlevel 8.3.2
    
    
  4. foundin changed to: "obsolete: 8.3.4"
  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: "16. Commands A-H"
  10. title changed to: "clock format -W incorrect results"
  11. type changed to: "Bug"