Skip to content

Commit 9845a5c

Browse files
committed
date_format
1 parent e64e255 commit 9845a5c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package-lock.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/blog-post.html

Lines changed: 1 addition & 1 deletion
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)