mirror of
https://github.com/google/bumble.git
synced 2026-04-18 00:45:32 +00:00
use timezone utc for TIMESTAMP_ANCHOR
This commit is contained in:
@@ -65,7 +65,7 @@ class BtSnooper(Snooper):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
IDENTIFICATION_PATTERN = b'btsnoop\0'
|
IDENTIFICATION_PATTERN = b'btsnoop\0'
|
||||||
TIMESTAMP_ANCHOR = datetime.datetime(2000, 1, 1)
|
TIMESTAMP_ANCHOR = datetime.datetime(2000, 1, 1, tzinfo=datetime.timezone.utc)
|
||||||
TIMESTAMP_DELTA = 0x00E03AB44A676000
|
TIMESTAMP_DELTA = 0x00E03AB44A676000
|
||||||
ONE_MS = datetime.timedelta(microseconds=1)
|
ONE_MS = datetime.timedelta(microseconds=1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user