Skip to content

Commit

Permalink
fix: replace Z timezone suffix with supported form in older versions …
Browse files Browse the repository at this point in the history
…of python
  • Loading branch information
the-forest-tree authored and the-forest-tree committed Jun 13, 2024
1 parent 1d1ab6b commit c2f42e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hrflow_connectors/core/documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ def update_root_readme(connectors: t.List[Connector], root: Path) -> t.Dict:
updated_at = datetime.fromisoformat(
max(
filtered,
key=lambda d: datetime.fromisoformat(d),
)
key=lambda d: datetime.fromisoformat(d.replace("Z", "+00:00")),
).replace("Z", "+00:00")
)
actions_status = dict(
zip(
Expand Down

0 comments on commit c2f42e4

Please sign in to comment.