diff --git a/buildings-start_date.json b/buildings-start_date.json index a5b5055..007a3e0 100644 --- a/buildings-start_date.json +++ b/buildings-start_date.json @@ -45,7 +45,16 @@ ], "description": [ "{% if tags.start_date %}", - "{{ tags.start_date }}", + "{{ tags.start_date|osmFormatDate({ format: 'short' }) }}", + "{% else %}", + "{{ trans('unknown') }}", + "{% endif %}" + ], + "popupDescription": [ + "{% if tags.start_date %}", + "{{ tags.start_date|osmFormatDate }}", + "{% else %}", + "{{ trans('unknown') }}", "{% endif %}" ], "markerSymbol": null, diff --git a/detailsBody.html b/detailsBody.html index 3c5a746..ca0b27f 100644 --- a/detailsBody.html +++ b/detailsBody.html @@ -145,7 +145,7 @@
  • {{ keyTrans('start_date') }}: - {{ enumerate(tags.start_date) }} + {{ tags.start_date|osmFormatDate }}
  • {% endif %} @@ -153,7 +153,7 @@
  • {{ keyTrans('opening_date') }}: - {{ enumerate(tags.opening_date) }} + {{ tags.opening_date|osmFormatDate }}
  • {% endif %} diff --git a/popupBody.html b/popupBody.html index d278846..b3ead54 100644 --- a/popupBody.html +++ b/popupBody.html @@ -151,7 +151,7 @@
  • {{ keyTrans('start_date') }}: - {{ enumerate(tags.start_date) }} + {{ tags.start_date|osmFormatDate }}
  • {% endif %} @@ -159,7 +159,7 @@
  • {{ keyTrans('opening_date') }}: - {{ enumerate(tags.opening_date) }} + {{ tags.opening_date|osmFormatDate }}
  • {% endif %}