Skip to content

Commit

Permalink
Update stac_fastapi/types/stac_fastapi/types/rfc3339.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pete Gadomski <[email protected]>
  • Loading branch information
jonhealy1 and gadomski authored May 9, 2024
1 parent a836677 commit 285b345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stac_fastapi/types/stac_fastapi/types/rfc3339.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]


# Borrowed from pystac - https://github.com/stac-utils/pystac/blob/main/pystac/utils.py
# Borrowed from pystac - https://github.com/stac-utils/pystac/blob/f5e4cf4a29b62e9ef675d4a4dac7977b09f53c8f/pystac/utils.py#L370-L394
def datetime_to_str(dt: datetime, timespec: str = "auto") -> str:
"""Converts a :class:`datetime.datetime` instance to an ISO8601 string in the
`RFC 3339, section 5.6
Expand Down

0 comments on commit 285b345

Please sign in to comment.