diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-02-04 14:37:42 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-02-04 14:37:42 -0800 |
commit | b5b1930599190e2d7a6613db8779d9bbb970a1f7 (patch) | |
tree | c7a9bb8a7e64b04ed23ac1f052f49ec0c79cb34f /template/html/entry.html | |
parent | 61bc012a6284f90001b2339ecfdfb5b96e38be10 (diff) |
Take timezone into consideration when calculating relative time
Diffstat (limited to 'template/html/entry.html')
-rw-r--r-- | template/html/entry.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/html/entry.html b/template/html/entry.html index 66d08fb..237acf4 100644 --- a/template/html/entry.html +++ b/template/html/entry.html @@ -59,7 +59,7 @@ </span> </div> <div class="entry-date"> - <time datetime="{{ isodate .entry.Date }}" title="{{ isodate .entry.Date }}">{{ elapsed .entry.Date }}</time> + <time datetime="{{ isodate .entry.Date }}" title="{{ isodate .entry.Date }}">{{ elapsed $.user.Timezone .entry.Date }}</time> </div> </header> {{ if gt (len .entry.Content) 120 }} |