Skip to content

Commit

Permalink
[reassembler] acars: fix timezone on timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec42 committed Jun 16, 2024
1 parent 84d8c5b commit 997ed97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iridiumtk/reassembler/sbd.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def parity7(data):
if q.label == b'_\x7f' and 'nopings' in config.args:
return

q.timestamp = datetime.datetime.fromtimestamp(q.time).strftime("%Y-%m-%dT%H:%M:%S%z")
q.timestamp = dt.epoch(q.time).isoformat(timespec='seconds')

while len(q.f_reg)>0 and q.f_reg[0:1]==b'.':
q.f_reg=q.f_reg[1:]
Expand Down

0 comments on commit 997ed97

Please sign in to comment.