Message136828
Getting a date from ISO week /weekday is not possible with the %W and %w directives. ISO week numbers and normal week numbers are calculated differently (see my libc qoute in the original post). Also, using %w instead of %u would be ambiguous, since %w weeks start on Sunday, while %u start with Monday.
I agree that this should be implemented in strptime(), to follow libc strptime(). datetime() has a clear constructor while strptime() has all the whacky cases. |
|
| Date |
User |
Action |
Args |
| 2011-05-25 06:25:30 | Erik.Cederstrand | set | recipients:
+ Erik.Cederstrand, belopolsky, r.david.murray, aganders3 |
| 2011-05-25 06:25:30 | Erik.Cederstrand | set | messageid: <[email protected]> |
| 2011-05-25 06:25:30 | Erik.Cederstrand | link | issue12006 messages |
| 2011-05-25 06:25:29 | Erik.Cederstrand | create | |
|