mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-29 07:39:00 +00:00
Compare commits
1 Commits
ff487582f9
...
85d7d96383
Author | SHA1 | Date | |
---|---|---|---|
|
85d7d96383 |
|
@ -59,9 +59,6 @@ def convert_datetime_to_iso(date_time: datetime.datetime) -> str:
|
|||
:rtype: str
|
||||
|
||||
"""
|
||||
if not date_time:
|
||||
return ""
|
||||
|
||||
if date_time.tzinfo:
|
||||
# Timezone aware object - convert to UTC
|
||||
date_time = date_time.astimezone(tz=datetime.timezone.utc)
|
||||
|
|
Loading…
Reference in New Issue
Block a user