Skip to content

Commit cfca18e

Browse files
committed
fixup! Issue #666 load_stac: fallback temporal dimension when no cube:dimensions
1 parent ccd064f commit cfca18e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

openeo/util.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ def parse_date_or_datetime(
172172
@classmethod
173173
def _format_datetime(cls, d: dt.datetime) -> str:
174174
"""Format given datetime as RFC-3339 date-time string."""
175-
import dateutil
176-
177175
if not (d.tzinfo is None or d.tzinfo.tzname(d) == "UTC"):
178176
# TODO: add support for non-UTC timezones?
179177
raise ValueError(f"No support for non-UTC timezone {d.tzinfo}")

0 commit comments

Comments
 (0)