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.
Created on 2009年05月14日 16:57 by mw44118, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (1) | |||
|---|---|---|---|
| msg87741 - (view) | Author: Matthew Wilson (mw44118) | Date: 2009年05月14日 16:57 | |
I do this kind of thing a lot: >>> from datetime import timedelta >>> td = timedelta(days=2, seconds=14) >>> total_duration_in_seconds = td.days * 24 * 60 * 60 + td.seconds I would like to have a property on the timedelta object do this for me. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:48 | admin | set | github: 50270 |
| 2009年05月14日 21:36:29 | pitrou | set | status: open -> closed resolution: duplicate superseder: datetime.timedelta is inconvenient to use... |
| 2009年05月14日 16:57:56 | mw44118 | create | |