diff options
author | lpsolit%gmail.com <> | 2007-02-10 08:06:22 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-02-10 08:06:22 +0100 |
commit | 25f6509fe6d2e3adea4cb2ead7265e3a2d1536b7 (patch) | |
tree | fe701e1b90b069f7a13ba070110f7b16f0c62af5 /buglist.cgi | |
parent | be11b7c3a55ba11c683d1e813fb0c4a1be0ae70d (diff) | |
download | bugzilla-25f6509fe6d2e3adea4cb2ead7265e3a2d1536b7.tar.gz bugzilla-25f6509fe6d2e3adea4cb2ead7265e3a2d1536b7.tar.xz |
Bug 369912: Buglists exported as iCalendar have wrong timestamps - Patch by Frédéric Buclin <LpSolit@gmail.com> r=myk a=LpSolit
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi index 7181c2199..122a917de 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -1018,13 +1018,13 @@ while (my @row = $buglist_sth->fetchrow_array()) { # Put in the change date as a time, so that the template date plugin # can format the date in any way needed by the template. ICS and Atom # have specific, and different, date and time formatting. - $bug->{'changedtime'} = str2time($bug->{'changeddate'}); + $bug->{'changedtime'} = str2time($bug->{'changeddate'}, Bugzilla->params->{'timezone'}); $bug->{'changeddate'} = DiffDate($bug->{'changeddate'}); } if ($bug->{'opendate'}) { # Put in the open date as a time for the template date plugin. - $bug->{'opentime'} = str2time($bug->{'opendate'}); + $bug->{'opentime'} = str2time($bug->{'opendate'}, Bugzilla->params->{'timezone'}); $bug->{'opendate'} = DiffDate($bug->{'opendate'}); } |