Skip to content

Commit d15c0e2

Browse files
committed
fix: tweak timestamp format
1 parent 1b73c81 commit d15c0e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

html-templates/subtemplates/timestamp.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
{$time = tif(date('Hi', $timestamp) == '0000' ? false : true)}
44
{/if}
55
<time datetime="{date($.const.DATE_W3C, $timestamp)}" title="{$timestamp|date_format:"%c"}">
6-
{$timestamp|date_format:tif($time, "%-d %b %Y&mdash;%I:%M %P", "%-d %b %Y")}
6+
{$timestamp|date_format:tif($time, "%-d %b %Y, %l:%M %P", "%-d %b %Y")}
77
</time>
8-
{/strip}{/template}
8+
{/strip}{/template}

0 commit comments

Comments
 (0)