Message182902
I am adding yet another patch. This time it has
- TZ-aware tests (datetimetester.TestTimeTZ).
- C time_subtract method.
- Pure time.__sub__ method.
in addition to the previous
- Tests for time + timedelta
- C time_add
- Pure time.__add__
There's one issue though, and that is that I have not quite figured out TZ-aware cross-TZ `time - timedelta` i.e.
time(0, tzinfo=est) - timedelta(hours=1) * 5 == time(0, tzinfo=utc)
fails.
I have included a failing test for it. |
|
Date |
User |
Action |
Args |
2013-02-24 22:36:15 | joar | set | recipients:
+ joar, ronaldoussoren, eric.smith, maker, petri.lehtinen, thezulk |
2013-02-24 22:36:15 | joar | set | messageid: <1361745375.15.0.200229428244.issue17267@psf.upfronthosting.co.za> |
2013-02-24 22:36:15 | joar | link | issue17267 messages |
2013-02-24 22:36:15 | joar | create | |
|