Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8f6843e77773479b79f24af53ea0658448155cce2ec56a5b63b616a895003cf0
Ticket: 5116bce4bc0b59b45b7a5473ec01ed12acd83aa6
clock: the distance between "2004-03-28 01:00:00" and "2004-03-28 03:00:00" is only ONE hour
User & Date: ierschterlich on 2020-03-04 15:28:25
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    # The clock values of "2004-03-28 01:00:00" and "2004-03-28 02:00:00" are the same
    (bin) 1 % set date [clock scan "2004-03-28 01:00:00" -format {%Y-%m-%d %H:%M:%S}]
    1080432000
    (bin) 2 % set date [clock scan "2004-03-28 02:00:00" -format {%Y-%m-%d %H:%M:%S}]
    1080432000
    
    # When converting this value back into some readable form, this gives 01:00:00:
    (bin) 13 % clock format 1080432000 -format {%Y-%m-%d %H:%M:%S}
    2004-03-28 01:00:00
    # But when adding 1 hour, this gives 03:00:00 (instead of 02:00:00)
    (bin) 15 % clock format [clock add 1080432000 1 hour] -format {%Y-%m-%d %H:%M:%S}
    2004-03-28 03:00:00
    
  5. foundin changed to: "ActiveTcl-8.6.9"
  6. is_private changed to: "0"
  7. login: "ierschterlich"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0e28191135634e75f723aff349b81d5d0d3df4a9"
  10. resolution changed to: "None"
  11. severity changed to: "Severe"
  12. status changed to: "Open"
  13. submitter changed to: "ierschterlich"
  14. subsystem changed to: "16. Commands A-H"
  15. title changed to:
    clock: the distance between "2004-03-28 01:00:00" and "2004-03-28 03:00:00" is only ONE hour
    
  16. type changed to: "Bug"