Message53729
| Author |
doerwalter |
| Recipients |
| Date |
2003年01月13日.13:05:21 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Logged In: YES
user_id=89016
totimestamp() should be the inverse of fromtimestamp(), i.e.
foo.totimestamp() should be the same as
time.mktime(foo.timetuple()).
datetime.datetime.totimestamp() should raise OverflowError
iff time.mktime() raises OverflowError.
But as this may lose precision, I'd say it would be better,
if datetime supported RFC1123 conversion directly, i.e. two
methods frommime() and tomime(), that parse and format
strings like "Sun, 06 Nov 1994 08:49:37 GMT" (what
rfc822.parsedate() and rfc822.formatdate() do) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 16:06:07 | admin | link | issue665194 messages |
| 2007年08月23日 16:06:07 | admin | create |
|