Skip to content

Commit 12388d5

Browse files
committed
New translations pretty_dates.html (German)
1 parent e8e4628 commit 12388d5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

_i18n/de/dates/pretty_dates.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,13 @@
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 }}.

0 commit comments

Comments
 (0)