Message197482
| Author |
perey |
| Recipients |
perey |
| Date |
2013年09月11日.10:20:13 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1378894813.85.0.443530732743.issue19004@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
At present, the datetime module does not provide the capability to parse its own output from the isoformat() methods.
strptime() can't handle timezones with colons in them (and anyway it seems to me you'd need to try several possible format strings depending on ' ' vs 'T' separators, presence/absence of microseconds, pres/abs timezone...). Adding this capability would be one option (%f already establishes a precedent for adding codes outside of what C supports).
Another, perhaps superior option would be a specific method for parsing the output of isoformat(). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年09月11日 10:20:14 | perey | set | recipients:
+ perey |
| 2013年09月11日 10:20:13 | perey | set | messageid: <1378894813.85.0.443530732743.issue19004@psf.upfronthosting.co.za> |
| 2013年09月11日 10:20:13 | perey | link | issue19004 messages |
| 2013年09月11日 10:20:13 | perey | create |
|