strconv icon indicating copy to clipboard operation
strconv copied to clipboard

Code installed from PyPI gives different results than code installed from this repository.

Open benmaier opened this issue 4 years ago • 0 comments

installed from PyPI via pip

In [8]: strconv.__version__
Out[8]: '0.4.2'

In [9]: strconv.convert('2016-06-19 21:27:06.263000+00:00')
Out[9]: datetime.date(2016, 6, 19)

In [11]: strconv.convert('2004-02-01 22:30:02 -0500')
Out[11]: datetime.date(2004, 2, 1)

installed from repository

In [2]: strconv.__version__
Out[2]: '0.4.2'

In [3]: strconv.convert_datetime('2013-03-01 5:30:40 -0500')
Out[3]: datetime.datetime(2013, 3, 1, 5, 30, 40, tzinfo=datetime.timezone(datetime.timedelta(days=-1, seconds=68400)))

benmaier avatar Feb 16 '22 10:02 benmaier