Skip to content

Commit

Permalink
Applied spicefather's fix for date time formats
Browse files Browse the repository at this point in the history
  • Loading branch information
sgmoore committed May 2, 2024
1 parent 1d11577 commit 16a6304
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions calibre-plugin/libby/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ def parse_datetime(value: str) -> Optional[datetime]: # type: ignore[return]
"%Y-%m-%dT%H:%M:%S.%fZ",
"%Y-%m-%dT%H:%M:%S%z",
"%Y-%m-%dT%H:%M:%S.%f%z",
"%Y-%m-%dT%H:%M:%S",
"%Y-%m-%dT%H:%M:%S.%f",
"%m/%d/%Y", # publishDateText
)
for i, fmt in enumerate(formats, start=1):
Expand Down

0 comments on commit 16a6304

Please sign in to comment.