blob: 9b73600f86e572748999a71e031e43df31a385e7 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
{% capture i18n_month %}
{% assign m = include.date | date: "%-m" | minus: 1 %}
{{ site.t.months[page.lang][m] }}
{% endcapture %}
{% if page.lang == "en" %}
<!-- handcrafting the "%B %-d, %Y" date format -->
{{ i18n_month }}{{ include.date | date: "%-d, %Y" }}
{% elsif page.lang == "pt" %}
<!-- handcrafting the "%-d de %B de %Y" date format -->
{{ include.date | date: "%-d de " }}{{ i18n_month }}{{ include.date | date: " de %Y" }}
{% endif %}
|