Message182594
What would this give:
tm = datetime.time(13, 20)
later = tm + datetime.timedelta(hours=47, minutes=44)
datetime.time(13, 4)? Or raise an exception?
I've thought about this before, but it's always a problem when going over date boundaries. If you define "+" to be modulo 24 hours, then it's not very useful for cases I've looked at. Every time I've used time by itself, I end up going back to datetime. But I'll admit that might be a shortcoming of mine, not the concept. |
|
Date |
User |
Action |
Args |
2013-02-21 14:00:49 | eric.smith | set | recipients:
+ eric.smith, ronaldoussoren |
2013-02-21 14:00:49 | eric.smith | set | messageid: <1361455249.29.0.662049308448.issue17267@psf.upfronthosting.co.za> |
2013-02-21 14:00:49 | eric.smith | link | issue17267 messages |
2013-02-21 14:00:49 | eric.smith | create | |
|