summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-11-18 15:24:39 +0100
committerByron Jones <bjones@mozilla.com>2013-11-18 15:24:39 +0100
commitac6167f3a698dc8c142d0808fcd7aaa0f00e1f65 (patch)
tree7013cadf9d60edacdf45242a1829a78d2b1329b7 /template
parent17b7781c6178e67375edd37907be3eaee72b84d6 (diff)
downloadbugzilla-ac6167f3a698dc8c142d0808fcd7aaa0f00e1f65.tar.gz
bugzilla-ac6167f3a698dc8c142d0808fcd7aaa0f00e1f65.tar.xz
Bug 937180: creation_ts of bugs and attachments always at 0 seconds
r=dkl, a=simon
Diffstat (limited to 'template')
-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 9c9247980..48921e3ca 100644
--- a/template/en/default/attachment/list.html.tmpl
+++ b/template/en/default/attachment/list.html.tmpl
@@ -88,7 +88,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 acdcdbf7a..a6857f0d5 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -711,7 +711,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>
@@ -720,7 +720,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>