Skip to content

Commit 5b90e39

Browse files
committed
Fixes Loader class on Windows.
1 parent 38dc925 commit 5b90e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pendulum/tz/loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,5 @@ def _load(cls, fp):
143143
transitions,
144144
transition_types,
145145
default_transition_type_index,
146-
tuple(map(lambda tr: datetime.utcfromtimestamp(tr.unix_time), transitions))
146+
tuple(map(lambda tr: tr.utc_time, transitions))
147147
)

0 commit comments

Comments
 (0)