nimpylib / pylib

"Write Python in Nim!" Python builtins/standard-Lib functions ported to Nim
https://nimpylib.github.io/pylib/
MIT License
8 stars 0 forks source link

repr for datetime.timedelta is wrong #22

Closed litlighilit closed 2 months ago

litlighilit commented 2 months ago

Desc

for tz = timedelta(hours = 3)

repr(tz) is wrong: timezone(timedelta(days=0, seconds=0, microseconds=0), tzname)

Version

nim: any pylib: 0.9.1