aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/vintage/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/vintage/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/vintage/linklist.html')
-rw-r--r--tpl/vintage/linklist.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html
index 5accc92f..fc116667 100644
--- a/tpl/vintage/linklist.html
+++ b/tpl/vintage/linklist.html
@@ -99,11 +99,11 @@
99 <br> 99 <br>
100 {if="$value.description"}<div class="linkdescription">{$value.description}</div>{/if} 100 {if="$value.description"}<div class="linkdescription">{$value.description}</div>{/if}
101 {if="!$hide_timestamps || isLoggedIn()"} 101 {if="!$hide_timestamps || isLoggedIn()"}
102 {$updated=$value.updated_timestamp ? 'Edited: '. strftime('%c', $value.updated_timestamp) : 'Permalink'} 102 {$updated=$value.updated_timestamp ? 'Edited: '. format_date($value.updated) : 'Permalink'}
103 <span class="linkdate" title="Permalink"> 103 <span class="linkdate" title="Permalink">
104 <a href="?{$value.shorturl}"> 104 <a href="?{$value.shorturl}">
105 <span title="{$updated}"> 105 <span title="{$updated}">
106 {function="strftime('%c', $value.timestamp)"} 106 {$value.created|format_date}
107 {if="$value.updated_timestamp"}*{/if} 107 {if="$value.updated_timestamp"}*{/if}
108 </span> 108 </span>
109 - permalink 109 - permalink