Message75894
| Author |
belopolsky |
| Recipients |
amaury.forgeotdarc, belopolsky, jribbens, vstinner, webograph |
| Date |
2008年11月14日.22:06:24 |
| SpamBayes Score |
1.8605047e-06 |
| Marked as misclassified |
No |
| Message-id |
<1226700385.98.0.844157085515.issue2706@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
haypo> How? I don't understand your suggestion.
Sorry, another case of mail to tracker bug. Here is what I wrote:
"""
.. you can convert delta to time using an arbitrary anchor date and
extract hms that way:
>>> x = datetime(1,1,1) + timedelta(hours=1, minutes=24, seconds=19)
>>> x.hour,x.minute,x.second
(1, 24, 19)
(depending on your needs you may want to add delta.days*24 to the hours)
"""
but tracker ate the '>>>' lines :-( |
|