Overview
| Artifact ID: | c5ca34516a0128a6e01ab6c2ef2264fc8f33a97d |
|---|---|
| Ticket: | e7a722cd3573fedda5d1e528f95902776f996e06
confusing precedence of some clock-formats by `clock scan -format` |
| User & Date: | sebres on 2017-01-03 20:28:26 |
Changes
- icomment:
In the meantime I'm assuming that this would be a "bug" and in my new clock engine I've made the logical precedence, where "%Y%m%d" always wins before "%Y%j". It is not 100% backwards compatible, but IMHO solely correct solution (and questionable whether such artifical formats used in the practice). See "clock.test" changes in https://github.com/sebres/tcl/pull/2/files#diff-3f17fa8e2a8a99dd3608554003a3b001L21073 Affected cases are: clock-11.1 to clock-11.3; clock-11.9 to clock-11.11; clock-11.14 and clock-11.15. Other clock-11.* using already same precedence ("mmdd" over "ddd"). - login: "sebres"
- mimetype: "text/plain"