Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
erikh360 committed Jan 14, 2025
1 parent 9875ad6 commit 836fc6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/migrate_to_turn/process_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def is_datetime(date):
def process_datetime(value):
if not value:
return

value = value.replace("Z", "").split("+")[0]
if is_datetime(value):
value = datetime.fromisoformat(value)
Expand Down

0 comments on commit 836fc6a

Please sign in to comment.