diff --git a/r2/r2/templates/utils.html b/r2/r2/templates/utils.html index 46a3866ce..c40d5b4cf 100755 --- a/r2/r2/templates/utils.html +++ b/r2/r2/templates/utils.html @@ -549,13 +549,12 @@ ${unsafe(txt)} <%def name="timestamp(date, since=None, live=False, include_tense=False)"> ## todo: use pubdate attribute once things are
tags. ## note: comment and link templates will pass a CachedVariable stub as since. - <% now = date.now(g.tz) %> + <% + now = date.now(g.tz) + timestamp_class = unsafe(' class="live-timestamp"') if live else '' + %> -