Skip to content

Commit

Permalink
COT stale time conversion fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselsen authored Sep 10, 2024
1 parent 5693b3d commit d8f4757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inrcot/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def inreach_to_cot_xml(
cot_stale = (
datetime.datetime.now(datetime.timezone.utc)
+ datetime.timedelta(seconds=int(_cot_stale))
).strftime(pytak.ISO_8601_UTC)
).isoformat(sep='T',timespec='auto') # Convert to ISO_8601_UTC

cot_type = feed_conf.get("cot_type", inrcot.DEFAULT_COT_TYPE)

Expand Down

0 comments on commit d8f4757

Please sign in to comment.