diff options
-rw-r--r-- | scripts/metadata_filter.lua | 4 | ||||
-rw-r--r-- | templates/partials/list_card.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua index 74ee2e3..5e71994 100644 --- a/scripts/metadata_filter.lua +++ b/scripts/metadata_filter.lua | |||
@@ -84,8 +84,8 @@ function format_date(date) | |||
84 | mm = os.date("%m", time), | 84 | mm = os.date("%m", time), |
85 | dd = os.date("%d", time), | 85 | dd = os.date("%d", time), |
86 | rfc3339 = os.date("%FT%T+00:00", time), | 86 | rfc3339 = os.date("%FT%T+00:00", time), |
87 | long = os.date("%b %d, %Y", time), | 87 | long = os.date("%B %d, %Y", time), |
88 | short = os.date("%b %d, %y", time), | 88 | short = os.date("%b %d, %Y", time), |
89 | } | 89 | } |
90 | end | 90 | end |
91 | 91 | ||
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html index 744ca8a..6cf0e67 100644 --- a/templates/partials/list_card.html +++ b/templates/partials/list_card.html | |||
@@ -46,7 +46,7 @@ $if(it.url)$ | |||
46 | $elseif(it.date)$ | 46 | $elseif(it.date)$ |
47 | <time datetime="$it.date.yyyy_mm_dd$" class="l-media__block u-d-none@sm-lo" itemprop="dateCreated"> | 47 | <time datetime="$it.date.yyyy_mm_dd$" class="l-media__block u-d-none@sm-lo" itemprop="dateCreated"> |
48 | <small> | 48 | <small> |
49 | $it.date.long$ | 49 | $it.date.short$ |
50 | </small> | 50 | </small> |
51 | </time> | 51 | </time> |
52 | $endif$ | 52 | $endif$ |