Skip to content

Commit

Permalink
Update iso8601.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cdhigh committed Sep 26, 2024
1 parent 702d0f4 commit 405366f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/lib/calibre/utils/iso8601.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def parse_iso8601(date_string, assume_utc=False, as_utc=True, require_aware=False):
if not date_string:
return UNDEFINED_DATE
yourdate = parser.parse(datestring)
yourdate = parser.parse(date_string)
return yourdate.astimezone(utc_tz if as_utc else local_tz)


Expand Down

0 comments on commit 405366f

Please sign in to comment.