Skip to content

Commit

Permalink
Merge branch 'master' into feature/tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba2k2 committed Oct 12, 2024
2 parents 0fcb642 + 09cfcc5 commit 397fc77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datastruct/adapters/time.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def filetime_field(*, default=...):
"<Q", int((value.timestamp() + 11644473600) * 10000000)
),
decode=lambda value, ctx: datetime.fromtimestamp(
int(unpack("<Q", value)[0] / 10000000) - 11644473600
(unpack("<Q", value)[0] / 10000000) - 11644473600
),
)(field(8, default=default))

Expand Down

0 comments on commit 397fc77

Please sign in to comment.