Skip to content

Commit

Permalink
fix encoding of time property
Browse files Browse the repository at this point in the history
  • Loading branch information
SpeckiJ committed Nov 18, 2024
1 parent 773bd7e commit 79cfb9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygeoapi/provider/csw_facade_dcat.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def _owslibrecord2record(self, record):
'id': record.identifier,
'type': 'Feature',
'geometry': None,
'time': record.date or None,
'time': {"timestamp": record.date} if record.date is not None else None,

Check failure on line 269 in pygeoapi/provider/csw_facade_dcat.py

View workflow job for this annotation

GitHub Actions / flake8_py3

pygeoapi/provider/csw_facade_dcat.py#L269

[E501] line too long
'properties': {},
'links': [
self._gen_getrecordbyid_link(record.identifier),
Expand Down

0 comments on commit 79cfb9f

Please sign in to comment.