aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_layouts/index.html2
-rw-r--r--_layouts/pastebin.html2
-rw-r--r--_layouts/pastebins-listing.html2
-rw-r--r--_layouts/pastebins.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/_layouts/index.html b/_layouts/index.html
index 5b45898..3c145d0 100644
--- a/_layouts/index.html
+++ b/_layouts/index.html
@@ -6,7 +6,7 @@ layout: default
{%- for post in site.posts -%}
{% if post.lang == page.lang %}
<li>
- <a href="{{ post.url }}">{{ post.title | escape }}</a> - {{ post.date | date: "%b %-d, %Y" }}
+ <a href="{{ post.url }}">{{ post.title | escape }}</a> - {{ post.date | date: site.t.date_format[page.lang] }}
</li>
{% endif %}
{%- endfor -%}
diff --git a/_layouts/pastebin.html b/_layouts/pastebin.html
index 51194d7..21e4f65 100644
--- a/_layouts/pastebin.html
+++ b/_layouts/pastebin.html
@@ -3,7 +3,7 @@ layout: default
---
<article>
<section class="header">
- Posted on {{ page.date | date: "%b %-d, %Y" }}
+ Posted on {{ page.date | date: site.t.date_format[page.lang] }}
</section>
<section>
{{ content }}
diff --git a/_layouts/pastebins-listing.html b/_layouts/pastebins-listing.html
index 2829411..e829e5e 100644
--- a/_layouts/pastebins-listing.html
+++ b/_layouts/pastebins-listing.html
@@ -5,7 +5,7 @@ layout: default
<ul>
{%- for pastebin in site.pastebins -%}
<li>
- <a href="{{ pastebin.url | relative_url }}">{{ pastebin.title | escape }}</a> - {{ pastebin.date | date: "%b %-d, %Y" }}
+ <a href="{{ pastebin.url | relative_url }}">{{ pastebin.title | escape }}</a> - {{ pastebin.date | date: site.t.date_format[page.lang] }}
</li>
{%- endfor -%}
</ul>
diff --git a/_layouts/pastebins.html b/_layouts/pastebins.html
index 6b7830c..45443c5 100644
--- a/_layouts/pastebins.html
+++ b/_layouts/pastebins.html
@@ -4,7 +4,7 @@ layout: default
<ul>
{%- for pastebin in site.pastebins -%}
<li>
- <a href="{{ pastebin.url | relative_url }}">{{ pastebin.title | escape }}</a> - {{ pastebin.date | date: "%b %-d, %Y" }}
+ <a href="{{ pastebin.url | relative_url }}">{{ pastebin.title | escape }}</a> - {{ pastebin.date | date: site.t.date_format[page.lang] }}
</li>
{%- endfor -%}
</ul>