From 114db9a8388cfda7f293a2ac3354ad39818f3488 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 10 Apr 2009 22:07:41 +0000 Subject: Bug 487865: Exporting bugs in XML format uses non-unique timezones (they cannot be imported back) - Patch by Frédéric Buclin r=ghendricks a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/bug/show.xml.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'template/en') diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl index cd7f44eff..cb0b10a42 100644 --- a/template/en/default/bug/show.xml.tmpl +++ b/template/en/default/bug/show.xml.tmpl @@ -79,7 +79,7 @@ [% NEXT IF c.isprivate && !user.in_group(Param("insidergroup")) %] [% c.author.email FILTER email FILTER xml %] - [% c.time FILTER time FILTER xml %] + [% c.time FILTER time("%Y-%m-%d %T %z") FILTER xml %] [% IF user.in_group(Param('timetrackinggroup')) && (c.work_time - 0 != 0) %] [% PROCESS formattimeunit time_unit = c.work_time FILTER xml %] [% END %] @@ -97,7 +97,7 @@ isprivate="[% a.isprivate FILTER xml %]" > [% a.id %] - [% a.attached FILTER time FILTER xml %] + [% a.attached FILTER time("%Y-%m-%d %R %z") FILTER xml %] [% a.description FILTER xml %] [% a.filename FILTER xml %] [% a.contenttype FILTER xml %] @@ -146,7 +146,7 @@ [% ELSIF field == 'cc' %] [% val = val FILTER email %] [% ELSIF field == 'creation_ts' OR field == 'delta_ts' %] - [% val = val FILTER time %] + [% val = val FILTER time("%Y-%m-%d %T %z") %] [% END %] <[% field %][% IF name != '' %] name="[% name FILTER xml %]"[% END -%]> [%- val FILTER xml %] -- cgit v1.2.3-24-g4f1b