20 lines
396 B
Python
20 lines
396 B
Python
import sys
|
|
|
|
if sys.platform == "win32":
|
|
from tzlocal.win32 import (
|
|
get_localzone,
|
|
get_localzone_name,
|
|
reload_localzone,
|
|
)
|
|
else:
|
|
from tzlocal.unix import get_localzone, get_localzone_name, reload_localzone
|
|
|
|
from tzlocal.utils import assert_tz_offset
|
|
|
|
__all__ = [
|
|
"get_localzone",
|
|
"get_localzone_name",
|
|
"reload_localzone",
|
|
"assert_tz_offset",
|
|
]
|