Skip to content

Commit 1c4824d

Browse files
authored
Merge pull request creativecommons#461 from Aakash2408/date_format
date_format corrected (Fixes creativecommons#440)
2 parents d872396 + 81535ed commit 1c4824d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/blog-post.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<h2 class="mb-0">{{ this.title }}</h2>
1313
{{ check_file('content' + this.parent.parent.path + '/authors/' + this.author + '/contents.lr') }}
1414
<p class="meta text-muted mt-0 mb-2">by <a href="{{ author|url }}">{{ render_author_name(author) }}</a>
15-
on {{ this.pub_date|dateformat('EEEE, yyyy-''MM-d') }}</p>
15+
on {{ this.pub_date|dateformat("YYYY-MM-dd") }}</p>
1616
{% if this.series|length %}
1717
{% set series = this.parent.parent.children.get('series').children.get(this.series) %}
1818
<div class="card bg-light mb-2">

0 commit comments

Comments
 (0)