Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7fe5aab01f6fb5ab77fdfaa9977f504e4b2f68bdfddbfe3307dd6d20caa648b0
Ticket: f1388d2fda517fa3810310ad93b45d14d5367e96
clock scan with just year returns timestamp in current year
User & Date: anonymous on 2022-10-12 17:24:39
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    System Info
    Tcl 8.6.12 on OSX 12.6 Intel 64bit
    
    To reproduce.
    
    1. Open tclsh
    2. Enter 'clock format [clock scan 1999 -format %Y] -format %Y'
    3. It returns '2022' but I expect it to return '1999'
    
    Similar issue
    1. Open tclsh on 2022-10-12 
    2. Enter 'clock format [clock scan 1999 -format %Y] -format "%Y-%m-%d %H:%M:%S"'
    3. It returns '2022-10-12 00:00:00', I expected '1999-01-01 00:00:00'
    
  5. foundin changed to: "8.6.12"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "023631eaa70270b10a222247bada42749200ea61"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "06. Time Measurement"
  15. title changed to:
    clock scan with just year returns timestamp in current year
    
  16. type changed to: "Bug"