Re:Maya – Python Datetimes for Humans
by diyseguy on Sunday December 18, 2016 @11:48AM
(#13206412)
But does it get DST correct. I haven't found any python time libraries that do.
[ Parent
| on HN ]
You can take a look at pendulum: https://github.com/sdispater/pendulum
A lot of effort has been put into getting DST right so I hope it will be what you are looking for.
Disclaimer: I am the author of Pendulum :-)
Interestingly, Python 3.6 has just tried to fix the DST problem in the datetime library itself. See PEP 495
https://www.python.org/dev/peps/pep-0495/