summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-11-18 15:25:09 +0100
committerByron Jones <bjones@mozilla.com>2013-11-18 15:25:09 +0100
commit3e5fc54202f854e76b139ec71fd78e91029dc7d2 (patch)
treebdd3961ee86156496a4eef8fc177e2b6aef0e214 /template/en/default
parent00ff4e6d2e328e4032bbbe2586c623384cc15161 (diff)
downloadbugzilla-3e5fc54202f854e76b139ec71fd78e91029dc7d2.tar.gz
bugzilla-3e5fc54202f854e76b139ec71fd78e91029dc7d2.tar.xz
Bug 937180: creation_ts of bugs and attachments always at 0 seconds
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/attachment/list.html.tmpl2
-rw-r--r--template/en/default/bug/edit.html.tmpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl
index 05ad0bb26..c89c7bb78 100644
--- a/template/en/default/attachment/list.html.tmpl
+++ b/template/en/default/attachment/list.html.tmpl
@@ -101,7 +101,7 @@ function toggle_display(link) {
<br>
<a href="#attach_[% attachment.id %]"
title="Go to the comment associated with the attachment">
- [%- attachment.attached FILTER time %]</a>,
+ [%- attachment.attached FILTER time("%Y-%m-%d %H:%M %Z") %]</a>,
[%# No need to recreate the exact same template if we already have it. %]
[% attacher_id = attachment.attacher.id %]
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index fc0e41fe2..696d0739f 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -741,7 +741,7 @@
Reported:
</th>
<td>
- [% bug.creation_ts FILTER time %] by [% INCLUDE global/user.html.tmpl who = bug.reporter %]
+ [% bug.creation_ts FILTER time("%Y-%m-%d %H:%M %Z") %] by [% INCLUDE global/user.html.tmpl who = bug.reporter %]
</td>
</tr>
@@ -750,7 +750,7 @@
Modified:
</th>
<td>
- [% bug.delta_ts FILTER time FILTER replace(':\d\d$', '') FILTER replace(':\d\d ', ' ')%]
+ [% bug.delta_ts FILTER time("%Y-%m-%d %H:%M %Z") %]
(<a href="show_activity.cgi?id=[% bug.bug_id %]">[%# terms.Bug %]History</a>)
</td>