Skip to content

Commit 1844178

Browse files
committed
Small renaming of utils.timestamp_from_windows_time
1 parent 4def68b commit 1844178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def __repr__(self):
472472
def get_types(self):
473473
return ', '.join([ u'%s %sx' % (name.name, len(list(objs))) for (name, objs) in groupby(self.current, lambda obj: obj.__class__)])
474474

475-
def timestamp_from_windows_time(windows_time):
475+
def windows_to_unix(windows_time):
476476
# This windows timestamp measures the number of 100 nanosecond periods since
477477
# January 1st, 1601. First we subtract the number of nanosecond periods from
478478
# 1601-1970, then we divide by 10^7 to bring it back to seconds.

0 commit comments

Comments
 (0)