We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af0184f commit 0248662Copy full SHA for 0248662
src/saluki/__init__.py
@@ -52,8 +52,9 @@ def _parse_timestamp(msg: Message) -> str:
52
"""
53
timestamp_type, timestamp_ms_from_epoch = msg.timestamp()
54
if timestamp_type == 1: # TIMESTAMP_CREATE_TIME
55
- return datetime.datetime.fromtimestamp(timestamp_ms_from_epoch / 1000).strftime(
56
- '%Y-%m-%d %H:%M:%S.%f')
+ return datetime.datetime.fromtimestamp(timestamp_ms_from_epoch / 1000).strftime(
+ "%Y-%m-%d %H:%M:%S.%f"
57
+ )
58
else:
59
# TIMESTAMP_NOT_AVAILABLE or TIMESTAMP_LOG_APPEND_TIME
60
return "Unknown"
0 commit comments