Commit graph

13 commits

Author SHA1 Message Date
Inada Naoki
33e0e86f4e
Cleanup code and pyproject (#608)
* use isort
* fallback: use BytesIO instead of StringIO. We had dropped Python 2
already.
2024-05-06 11:46:31 +09:00
hakan akyürek
e77672200b
Avoid using floating points during timestamp-datetime conversions (#591) 2024-04-20 07:46:30 +09:00
TW
423c6df265
move project metadata to pyproject.toml (#555)
also: replace flake8 by ruff.
2023-09-05 10:51:04 +09:00
sblondon
feec06206c
Drop python2 support (#519)
The PR removes python2 references and cases.

Close #518

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2023-05-21 16:26:39 +09:00
Inada Naoki
cb50b2081b
Update setuptools and black (#498)
* Use setuptools
* Use black==22.1.0
2022-03-03 12:29:55 +09:00
Benjamin Egelund-Müller
e464cb44fa
Nicer error when packing a datetime without tzinfo (#466) 2021-11-16 17:49:47 +09:00
Inada Naoki
753b3706d8
Fix overflow in unpacking timestamp to datetime (#452) 2020-12-18 14:21:27 +09:00
Peter Fischer
8fb709f2e0
Fix datetime before epoch on windows in cython implementation (#436)
Cython implementation still used datetime.from_timestamp method, which does not work on windows.
Update the cython implementation to use utc time and delta and add a regression test to highlight the issue.
2020-07-30 23:48:51 +09:00
Inada Naoki
9d79351e99
Add some test for timestamp (#403) 2020-02-06 22:11:04 +09:00
Inada Naoki
887d3a7d22
Refine Timestamp APIs (#395) 2019-12-12 19:43:59 +09:00
Inada Naoki
2186455d15
Support datetime. (#394) 2019-12-11 23:48:16 +09:00
Inada Naoki
10e5e39ff9 blacken test 2019-12-05 18:51:45 +09:00
Inada Naoki
641406902e
Add Timestamp support (#382) 2019-12-05 18:29:15 +09:00