[Python-Dev] Negative timedelta strings
Marko Rauhamaa
marko at pacujo.net
Fri Mar 28 22:57:02 CET 2014
More information about the Python-Dev mailing list
Fri Mar 28 22:57:02 CET 2014
- Previous message: [Python-Dev] Negative timedelta strings
- Next message: [Python-Dev] Negative timedelta strings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Ewing <greg.ewing at canterbury.ac.nz>: > ISO 8601 doesn't seem to define a representation for > negative durations, though, so it wouldn't solve the > original problem. XSD uses ISO 8601 durations and allows a sign before the initial "P". It would appear PT1M means 60 or 61 seconds. P1D means 23, 24 or 25 hours. P1M means 28..31 days etc. Timedelta would have no option but to stick to seconds: P29389453.2345S but then, why not simply use a number: 29389453.2345 Marko
- Previous message: [Python-Dev] Negative timedelta strings
- Next message: [Python-Dev] Negative timedelta strings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list