Overview
| Artifact ID: | d1c0026ebd1a80d1c6506d46e0fc7cb33b74d8d7 |
|---|---|
| Ticket: | 225965ffffffffffffffffffffffffffffffffff
[clock format $date -format "%Y-%W"] fails on w 53 |
| User & Date: | olovbergqvist on 2000-12-16 09:51:34 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
[clock format [clock scan "12/31/1998"] -format "%Y-%W"] fails. The result is 1998-52, but should be 1998-53. I suspect the same error happens for the date 01/01/2008 resulting in 2008-00. I do not have a calendar for 2008. The Swedish weeknumbering is ruled by the standard (SIS 0 102 12) based on rules from ISO. In short: A week number is always correspondant to 7 days. Week 1 is the first week of the year that contains 4 days or more of the new year.
- foundin changed to: ""
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "olovbergqvist"
- subsystem changed to: "48. Number Handling"
- title changed to: "[clock format $date -format "%Y-%W"] fails on w 53"
- type changed to: "Bug"