summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
diff options
context:
space:
mode:
authorDylan Hardison <dylan@mozilla.com>2016-06-09 21:28:26 +0200
committerDylan Hardison <dylan@mozilla.com>2016-06-09 21:28:26 +0200
commit37b2bd154be263e95edb3ca66420e0357535b183 (patch)
treed871ac7918c8ea7294daaa6362e53c8237875a45 /extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
parentd2507d158fbc961a2ccabdcd384edf18adff7032 (diff)
downloadbugzilla-37b2bd154be263e95edb3ca66420e0357535b183.tar.gz
bugzilla-37b2bd154be263e95edb3ca66420e0357535b183.tar.xz
Bug 1209219 - Add an option to the disable the "X months ago" format for dates
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl10
1 files changed, 8 insertions, 2 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
index f18d0e7b7..f78f74e0b 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -245,8 +245,14 @@
[% ELSE %]
(<span
[% END %]
- class="flag-name-status rel-time-title[% " activity-ref" IF activity_id %]"
- title="[% ni.creation_date FILTER time_duration FILTER html %]"
+ <!-- time("%Y-%m-%d %H:%M %Z") -->
+ [% IF user.setting("ui_use_absolute_time") == "on" %]
+ class="flag-name-status abs-time-title[% " activity-ref" IF activity_id %]"
+ title="[% ni.creation_date FILTER time("%Y-%m-%d %H:%M %Z") FILTER html %]"
+ [% ELSE %]
+ class="flag-name-status rel-time-title[% " activity-ref" IF activity_id %]"
+ title="[% ni.creation_date FILTER time_duration FILTER html %]"
+ [% END %]
data-time="[% ni.creation_date FILTER epoch FILTER none %]"
>NeedInfo
[% activity_id ? "</a>" : "</span>" %]