This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | gboutsioukis |
|---|---|
| Recipients | cjw296, gboutsioukis |
| Date | 2008年07月03日.18:17:34 |
| SpamBayes Score | 0.0020562499 |
| Marked as misclassified | No |
| Message-id | <1215109058.32.0.654905905829.issue3250@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I have also come across this in the past. Although I sense that some obscure reason might prevent time arithmetic from being included, here's a patch to add time/timedelta addition and subtraction. It closely follows the datetime arithmetic functions. To handle overflows, I figured it should wrap around a 24-hour limit. The timezone stuff is copied verbatim from the datetime functions, some finger-crossing applied. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年07月03日 18:17:38 | gboutsioukis | set | spambayes_score: 0.00205625 -> 0.0020562499 recipients: + gboutsioukis, cjw296 |
| 2008年07月03日 18:17:38 | gboutsioukis | set | spambayes_score: 0.00205625 -> 0.00205625 messageid: <1215109058.32.0.654905905829.issue3250@psf.upfronthosting.co.za> |
| 2008年07月03日 18:17:37 | gboutsioukis | link | issue3250 messages |
| 2008年07月03日 18:17:36 | gboutsioukis | create | |