diff options
author | lpsolit%gmail.com <> | 2008-08-28 04:26:13 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-08-28 04:26:13 +0000 |
commit | 55596ef8c29ae876c718946d54de787f32033db0 (patch) | |
tree | 5a09a8373f1e9e268f96caf7ee85e8bf2fee59f4 /template/en/default/list/list.atom.tmpl | |
parent | ef56c491a65eed9dfddb2866c5faa59acb69b0ed (diff) | |
download | bugs-55596ef8c29ae876c718946d54de787f32033db0.tar bugs-55596ef8c29ae876c718946d54de787f32033db0.tar.gz bugs-55596ef8c29ae876c718946d54de787f32033db0.tar.bz2 bugs-55596ef8c29ae876c718946d54de787f32033db0.tar.xz bugs-55596ef8c29ae876c718946d54de787f32033db0.zip |
Bug 399070: Remove the 'timezone' parameter - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'template/en/default/list/list.atom.tmpl')
-rw-r--r-- | template/en/default/list/list.atom.tmpl | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/template/en/default/list/list.atom.tmpl b/template/en/default/list/list.atom.tmpl index bfebbb8dd..5086a044c 100644 --- a/template/en/default/list/list.atom.tmpl +++ b/template/en/default/list/list.atom.tmpl @@ -24,7 +24,6 @@ #%] [% PROCESS global/variables.none.tmpl %] -[% USE date %] [% DEFAULT title = "$terms.Bugzilla $terms.Bugs" %] @@ -37,9 +36,8 @@ <link rel="self" type="application/atom+xml" href="[% urlbase FILTER html %]buglist.cgi? [%- urlquerypart FILTER xml %]"/> - <updated>[% date.format(format=>"%Y-%m-%dT%H:%M:%SZ", - time=>bugs.nsort('changedtime').last.changedtime, - gmt=>1) FILTER xml %]</updated> + <updated>[% bugs.nsort('changedtime').last.changedtime FILTER time("%Y-%m-%dT%H:%M:%SZ", "UTC") + FILTER xml %]</updated> <id>[% urlbase FILTER html %]buglist.cgi?[% urlquerypart FILTER xml %]</id> [% FOREACH bug = bugs %] @@ -52,8 +50,7 @@ <author> <name>[% bug.reporter_realname FILTER xml %]</name> </author> - <updated>[% date.format(format=>"%Y-%m-%dT%H:%M:%SZ",time=>bug.changedtime, - gmt=>1) FILTER xml %]</updated> + <updated>[% bug.changedtime FILTER time("%Y-%m-%dT%H:%M:%SZ", "UTC") FILTER xml %]</updated> <summary type="html"> [%# Filter out the entire block, so that we don't need to escape the html code out %] [% FILTER xml %] |