Skip to content

Commit

Permalink
Safeguard items template (#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalxas authored Sep 19, 2024
1 parent fefa8ba commit 91353f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycsw/ogc/api/templates/items.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
<td>{{ rec.get('type') }}</td>
{% endif %}
{% endif %}
<td>{{ rec['properties']['updated'].split('T')[0].replace('-','/') }}</td>
<td>{{ rec['properties'].get('updated', '').split('T')[0].replace('-','/') }}</td>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit 91353f4

Please sign in to comment.