3 ms·
But does it get DST correct. I haven't found any python time libraries that do.
by diyseguy 10y ago
But does it get DST correct. I haven't found any python time libraries that do.
- sdispater 10y agoYou can take a look at pendulum: https://github.com/sdispater/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 :-)
- robochat 10y agoInterestingly, 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/ https://www.python.org/dev/peps/pep-0495/