From 25f6509fe6d2e3adea4cb2ead7265e3a2d1536b7 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 10 Feb 2007 07:06:22 +0000 Subject: =?UTF-8?q?Bug=20369912:=20Buglists=20exported=20as=20iCalendar=20?= =?UTF-8?q?have=20wrong=20timestamps=20-=20Patch=20by=20Fr=C3=83=C2=A9d?= =?UTF-8?q?=C3=83=C2=A9ric=20Buclin=20=20r=3Dmyk=20a=3D?= =?UTF-8?q?LpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buglist.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buglist.cgi') 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'}); } -- cgit v1.2.1