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 flying sheep
Recipients Alexander.Belopolsky, Arfrever, belopolsky, cvrebert, flying sheep, jcea, mcepl, nagle, r.david.murray, roysmith
Date 2012-10-31.17:33:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
there is a module that parses those strings pretty nicely, it’s called pyiso8601:

in the context of writing a better plistlib, i also needed the capability to parse those strings, and decided not to use the sucky incomplete implementation of plistlib, but the one mentioned above.

i py3ified it, eliminating quite some code, and the result is pretty terse, check it out:

note that that implementation returns utc-datetimes for timezoneless strings, instead of naive ones. (l.30)
Date User Action Args
2012-10-31 17:33:23flying sheepsetrecipients: + flying sheep, jcea, roysmith, belopolsky, nagle, mcepl, Arfrever, r.david.murray, cvrebert, Alexander.Belopolsky
2012-10-31 17:33:23flying sheepsetmessageid: <>
2012-10-31 17:33:22flying sheeplinkissue15873 messages
2012-10-31 17:33:22flying sheepcreate