aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-03-06 21:13:48 +0100
committerGitHub <noreply@github.com>2017-03-06 21:13:48 +0100
commit9971f7c82cc47446b457464cec5b4fefcae470e1 (patch)
tree87b01fc1dd9d0ca1f0c874aad847029eab74d0d8 /tpl/default/linklist.html
parent236239be752a7bb24547237b5751ac4fcbc0e549 (diff)
parent36c8fb1ef869c29e783f0dd5ebef2fb5566e2611 (diff)
downloadShaarli-9971f7c82cc47446b457464cec5b4fefcae470e1.tar.gz
Shaarli-9971f7c82cc47446b457464cec5b4fefcae470e1.tar.zst
Shaarli-9971f7c82cc47446b457464cec5b4fefcae470e1.zip
Merge pull request #750 from ArthurHoaro/feature/intl-dates
Improve datetime display
Diffstat (limited to 'tpl/default/linklist.html')
-rw-r--r--tpl/default/linklist.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html
index a9712704..9bc3ba1a 100644
--- a/tpl/default/linklist.html
+++ b/tpl/default/linklist.html
@@ -171,10 +171,11 @@
171 <div class="linklist-item-infos-dateblock pure-u-lg-3-8 pure-u-1"> 171 <div class="linklist-item-infos-dateblock pure-u-lg-3-8 pure-u-1">
172 <a href="?{$value.shorturl}" title="{'Permalink'|t}"> 172 <a href="?{$value.shorturl}" title="{'Permalink'|t}">
173 {if="!$hide_timestamps || isLoggedIn()"} 173 {if="!$hide_timestamps || isLoggedIn()"}
174 {$updated=$value.updated_timestamp ? 'Edited: '. strftime('%c', $value.updated_timestamp) : 'Permalink'} 174 {$updated=$value.updated_timestamp ? 'Edited: '. format_date($value.updated) : 'Permalink'}
175 <span class="linkdate" title="{$updated}"> 175 <span class="linkdate" title="{$updated}">
176 <i class="fa fa-clock-o"></i> 176 <i class="fa fa-clock-o"></i>
177 {function="strftime('%c', $value.timestamp)"}{if="$value.updated_timestamp"}*{/if} 177 {$value.created|format_date}
178 {if="$value.updated_timestamp"}*{/if}
178 &middot; 179 &middot;
179 </span> 180 </span>
180 {/if} 181 {/if}