Closed jjc385 closed 4 years ago
Note that this also depends on my other pull request #9
See https://stackoverflow.com/a/16157307 for a discussion of pytz's issues getting the local timezone on Windows. The tzlocal package fixes the issue.
tzlocal
tzlocal.get_localzone
get_localzone() == timezone("America/New_York")
Note that this also depends on my other pull request #9
See https://stackoverflow.com/a/16157307 for a discussion of pytz's issues getting the local timezone on Windows. The
tzlocal
package fixes the issue.Checks
tzlocal.get_localzone
returns a timezone objectget_localzone() == timezone("America/New_York")
is True