Commit 875ec235 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

I originally checked in the wrong patch for Bug 351178. Here are the

checkin fixes for that bug.
parent 65a9538e
......@@ -31,7 +31,7 @@ sub timezone {
my $offset = tz_offset();
$offset = (($offset / 60) / 60) * 100;
$offset = sprintf('%+05d', $offset);
return 'GMT' . $offset;
return $offset;
}
1;
......@@ -64,8 +64,8 @@ Returns the current version of Bugzilla, as a string.
=item C<timezone>
Returns the timezone of the server Bugzilla is running on, in GMT(+/-)XXXX
format. This is important because all dates/times that the webservice
interface returns will be in this timezone.
Returns the timezone of the server Bugzilla is running on, in (+/-)XXXX
(RFC 2822) format. This is important because all dates/times that the
webservice interface returns will be in this timezone.
=back
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment