3 ms·
"I think Python's "datetime" is a great example of a not great time library." "Datetime" is a bit strange at first, but not that bad. The parsing side is weak
by Animats 11y ago
"I think Python's "datetime" is a great example of a not great time library."
"Datetime" is a bit strange at first, but not that bad. The parsing side is weak; I've been trying to get a parser for RFC3339 / ISO8601 timestamps into that library since 2012.[1] Sure, there are libraries for that in PyPi. There were four of them in 2012, all too broken to parse mail and RSS feed timestamps reliably. Now, there are six.
[1] https://bugs.python.org/issue15873 https://bugs.python.org/issue15873