Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Jan 14, 2025
1 parent 07f983d commit 9e547dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pygeoapi/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,12 @@ def dategetter(date_property: str, collection: dict, raw: bool = False) -> str:
if value is None:
return None

value2 = value.isoformat()

if raw:
return value
else:
return value.isoformat()
return value2


def get_typed_value(value: str) -> Union[bool, float, int, str]:
Expand Down

0 comments on commit 9e547dc

Please sign in to comment.