Message136828
| Author |
Erik.Cederstrand |
| Recipients |
Erik.Cederstrand, aganders3, belopolsky, r.david.murray |
| Date |
2011年05月25日.06:25:29 |
| SpamBayes Score |
2.050537e-05 |
| Marked as misclassified |
No |
| Message-id |
<1306304730.53.0.651746348804.issue12006@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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: <1306304730.53.0.651746348804.issue12006@psf.upfronthosting.co.za> |
| 2011年05月25日 06:25:30 | Erik.Cederstrand | link | issue12006 messages |
| 2011年05月25日 06:25:29 | Erik.Cederstrand | create |
|