File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 3535 {% capture start_month %}{% t "times.months.{{ start_date | date: '%B' }}" %}{% endcapture -%}
3636 {% capture end_month %}{% t "times.months.{{ end_date | date: '%B' }}" %}{% endcapture -%}
3737 {% assign year = start_date | date: "%Y" -%}
38- {% capture pretty_date %}{{ start_day }}. {{ start_month }} – {{ end_day }}.
38+ {% capture pretty_date %}{{ start_day }}. {{ start_month }} – {{ end_day }}. {{ end_month }} {{ year }}{% endcapture -%}
39+
40+ {% else -%}
41+ {% assign start_day = start_date | date: "%-d" -%}
42+ {% assign end_day = end_date | date: "%-d" -%}
43+ {% capture start_month %}{% t "times.months.{{ start_date | date: '%B' }}" %}{% endcapture -%}
44+ {% capture end_month %}{% t "times.months.{{ end_date | date: '%B' }}" %}{% endcapture -%}
45+ {% assign start_year = start_date | date: "%Y" -%}
46+ {% assign end_year = end_date | date: "%Y" -%}
47+ {% capture pretty_date %}{{ start_day }}.
You can’t perform that action at this time.
0 commit comments