Browse Source

Merge branch 'osm-date-format'

places
parent
commit
17061efe62
  1. 11
      buildings-start_date.json
  2. 4
      detailsBody.html
  3. 4
      popupBody.html

11
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,

4
detailsBody.html

@ -145,7 +145,7 @@
<li class='hasSymbol'>
<i class="fa fa-clock-o" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('start_date') }}:</span>
<span class='value'>{{ enumerate(tags.start_date) }}</span>
<span class='value'>{{ tags.start_date|osmFormatDate }}</span>
</li>
{% endif %}
@ -153,7 +153,7 @@
<li class='hasSymbol'>
<i class="fa fa-clock-o" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('opening_date') }}:</span>
<span class='value'>{{ enumerate(tags.opening_date) }}</span>
<span class='value'>{{ tags.opening_date|osmFormatDate }}</span>
</li>
{% endif %}

4
popupBody.html

@ -151,7 +151,7 @@
<li class='hasSymbol'>
<i class="fa fa-clock-o" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('start_date') }}:</span>
<span class='value'>{{ enumerate(tags.start_date) }}</span>
<span class='value'>{{ tags.start_date|osmFormatDate }}</span>
</li>
{% endif %}
@ -159,7 +159,7 @@
<li class='hasSymbol'>
<i class="fa fa-clock-o" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('opening_date') }}:</span>
<span class='value'>{{ enumerate(tags.opening_date) }}</span>
<span class='value'>{{ tags.opening_date|osmFormatDate }}</span>
</li>
{% endif %}

Loading…
Cancel
Save