summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en/default/bug_modal/rel_time.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/rel_time.html.tmpl')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/rel_time.html.tmpl15
1 files changed, 7 insertions, 8 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/rel_time.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/rel_time.html.tmpl
index 26a1b709b..8f8f4925b 100644
--- a/extensions/BugModal/template/en/default/bug_modal/rel_time.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/rel_time.html.tmpl
@@ -9,13 +9,12 @@
[%#
# ts: timestamp
#%]
-
+[% IF user.setting("ui_use_absolute_time") == "on" -%]
+<span class="rel-time-title" title="[% ts FILTER time_duration FILTER html %]" data-time="[% ts FILTER epoch FILTER none %]">
+ [%~ ts FILTER time("%Y-%m-%d %H:%M %Z"); ~%]
+</span>
+[% ELSE -%]
<span class="rel-time" title="[% ts FILTER time("%Y-%m-%d %H:%M %Z") %]" data-time="[% ts FILTER epoch FILTER none %]">
- [%~
- IF content.defined;
- content;
- ELSE;
- ts FILTER time_duration FILTER html;
- END;
- ~%]
+ [%~ ts FILTER time_duration FILTER html; ~%]
</span>
+[% END -%] \ No newline at end of file