Tcl Library Source Code

Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Parents and children of check-in [730be11a05]

Merged the clock fixes into the release. Closed-Leaf check-in: 472c75a7bc user: aku tags: tcllib-1-15-rc
Implemented the YYYY-Www and YYYYWww formats, with test cases. Closed-Leaf check-in: 730be11a05 user: aku tags: new-module-clock
Fixing problems in the ISO parsing, and testsuite ... (1) The [clock scan] heuristics for handling a missing month and/or day are in conflict with the ISO specification. When encountering such a pattern we now rewrite pattern and input to force the ISO defaults. (2) Fixed the regular expression for the time information in a full timestamp as it did not handle that : in a TZ offset is optional, nor that minutes and seconds are optional (The code after the MatchTime was prepared for such missing fields however). (2a) Again missing HMS fields got the wrong defaults. We are now rewriting the pattern and input to force the proper ISO defaults (start of day, hour, minute). (3) Fixed the tests which thought that 199707 is YYYYMM. ISO (Wikipedia) explicitly says that this is YYMMDD instead. (3a) Added missing patterns for YYYY-MM and YYYY. (4) Fixed the test numbering, had some duplicates. (5) Fixed one test with wrong results, expected 11:20 for input specifying 11:00. check-in: 7e70b9d4a7 user: aku tags: new-module-clock