Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4af9ad5f7f5e7c2d240446ca15908d9895e03414d600d68d7d9335b14f032ef2
Ticket: 882da1e28b73d06d791b904d38e6e615237bebe6
Wrong handling of "24:00" for weekdays
User & Date: jan.nijtmans on 2024-11-24 19:55:24
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    <pre>
    $ tclsh9.0
    % clock scan "Sun 2024-11-24 23:00"
    1732485600
    % clock scan "Sun 2024-11-24 24:00"
    unable to convert input string: invalid day of week
    </pre>
    
    This is incorrect. "24:00" is defined by IS0-8601 to be the last moment of the day. 2024-11-24 is still sunday.
    
    Problem introduced with [66e7fb75d9aebcdc|this commit]. Just before this commit, this happened:
    <pre>
    % clock scan "Sun 2024-11-24 23:00"
    1732485600
    % clock scan "Sun 2024-11-24 24:00"
    1732489200
    </pre>
    
    Which is correct: 2024-11-24 is on a sunday!
    
    So, I object to the part of the change which caused this.
    
  5. foundin changed to: "8.7/9.0"
  6. is_private changed to: "0"
  7. login: "jan.nijtmans"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "jan.nijtmans"
  14. subsystem changed to: "16. Commands A-H"
  15. title changed to: "Wrong handling of "24:00" for weekdays"
  16. type changed to: "Bug"