diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-05-25 16:40:45 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2019-05-25 16:40:45 +0200 |
commit | 5321f704b563df03232e2f8a1d2a26ecb8297428 (patch) | |
tree | e099496fa676c46a792b72c661ec1777838e8436 /tpl/vintage/daily.html | |
parent | c3a04e328f2c8d40890b0b26b118a193110634ce (diff) | |
download | Shaarli-5321f704b563df03232e2f8a1d2a26ecb8297428.tar.gz Shaarli-5321f704b563df03232e2f8a1d2a26ecb8297428.tar.zst Shaarli-5321f704b563df03232e2f8a1d2a26ecb8297428.zip |
Daily - display the current day instead of the previous one
Also mention if it's today or yesterday for clarity using `dayDesc`
variable
Fixes #1299
Diffstat (limited to 'tpl/vintage/daily.html')
-rw-r--r-- | tpl/vintage/daily.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tpl/vintage/daily.html b/tpl/vintage/daily.html index 71d84475..00f18e26 100644 --- a/tpl/vintage/daily.html +++ b/tpl/vintage/daily.html | |||
@@ -35,6 +35,9 @@ | |||
35 | 35 | ||
36 | <div class="dailyDate"> | 36 | <div class="dailyDate"> |
37 | <span class="nomobile">———————————</span> | 37 | <span class="nomobile">———————————</span> |
38 | {if="!empty($dayDesc)"} | ||
39 | {$dayDesc} - | ||
40 | {/if} | ||
38 | {function="strftime('%A %d, %B %Y', $day)"} | 41 | {function="strftime('%A %d, %B %Y', $day)"} |
39 | <span class="nomobile">———————————</span> | 42 | <span class="nomobile">———————————</span> |
40 | </div> | 43 | </div> |