sisyphsu / dateparser

dateparser is a smart and high-performance date parser library, it supports hundreds of different formats, nearly all format that we may used. And this is also a showcase for "retree" algorithm.
MIT License
95 stars 24 forks source link

There is a problem with too large timestamp #31

Open wholves opened 1 year ago

wholves commented 1 year ago

If the timestamp is 2070, the conversion time will be 1934. Please fix it

wholves commented 1 year ago

To be precise, if the maximum integer value (2147483647+1) * 1000 is exceeded, the exception will be converted, for example: '2147483648000'