summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorgerv%gerv.net <>2005-03-17 09:01:28 +0100
committergerv%gerv.net <>2005-03-17 09:01:28 +0100
commitff77421511f676ac647227b2cd7b7b015cc3fdaa (patch)
treed56f6d07793dc197d4931c97588ce2f5de8f96a3 /template/en
parentcc785b8edb84cc46f578e863d7929655a91eec41 (diff)
downloadbugzilla-ff77421511f676ac647227b2cd7b7b015cc3fdaa.tar.gz
bugzilla-ff77421511f676ac647227b2cd7b7b015cc3fdaa.tar.xz
Bug 179514 - make CVS bug lists use consistent format for date and time. Patch by gerv; r,a=myk.
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/list/list.csv.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/list/list.csv.tmpl b/template/en/default/list/list.csv.tmpl
index cb6bb6708..2731b6613 100644
--- a/template/en/default/list/list.csv.tmpl
+++ b/template/en/default/list/list.csv.tmpl
@@ -21,6 +21,7 @@
#%]
[% PROCESS global/variables.none.tmpl %]
+[% USE date %]
bug_id,
[% FOREACH column = displaycolumns %]
@@ -30,6 +31,10 @@ bug_id,
[% FOREACH bug = bugs %]
[% bug.bug_id %],
[% FOREACH column = displaycolumns %]
+ [% IF column == "opendate" OR column == "changeddate" %]
+ [% rawcolumn = column.replace("date", "time") %]
+ [% bug.$column = date.format(bug.$rawcolumn, "%Y-%m-%d %H:%M:%S") %]
+ [% END %]
[% bug.$column FILTER csv %],
[% END %]