Skip Menu |

This queue is for tickets about the TimeDate CPAN distribution.

Report information
The Basics
Id: 36494
Status: resolved
Priority: 0/
Queue: TimeDate

People
Owner: Nobody in particular
Requestors: sloan.looney [...] resilient-networks.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Fwd: [Bug 437458] IST timezone not supported.
Date: Thu, 5 Jun 2008 15:00:38 -0700
To: bug-TimeDate [...] rt.cpan.org
From: "Sloan Looney" <sloan.looney [...] resilient-networks.com>
Hi, I originally reported this as a defect in the latest version of Bugzilla, but they sent me to you. See below. In a nutshell, the IST (India) timezone appears to be commented out in /usr/lib/perl5/vendor_perl/5.8.8/Time/Zone.pm. I hope that's enough information. I don't have direct access to the system with the problem. If you have any other questions, I can get more info from the admin. Thanks, Sloan Show quoted text
---------- Forwarded message ---------- From: <bugzilla-daemon@mozilla.org> Date: Thu, Jun 5, 2008 at 10:42 AM Subject: [Bug 437458] IST timezone not supported. To: sloan.looney@resilient-networks.com Do not reply to this email. You can add comments to this bug at https://bugzilla.mozilla.org/show_bug.cgi?id=437458 Frédéric Buclin <LpSolit@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Frédéric Buclin <LpSolit@gmail.com> 2008-06-05 10:42:28 PDT --- IST is commented out in /usr/lib/perl5/vendor_perl/5.8.8/Time/Zone.pm, which is why it's not seen as a valid timezone: # "ist" => +5*3600+1800,# Indian Standard Bugzilla is not the one storing the list of valid timezones. It queries Time::Zone for that, which is a module external to Bugzilla. If you have access to the server, all you have to do is to edit the file above and activate the line mentioning "ist". --- Comment #2 from Dave Miller (MoCo) <justdave@mozilla.com> 2008-06-05 11:56:27 PDT --- FWIW, RedHat does not appear to have modified this in their RPM, the upstream version in CPAN has it that way, too. Bug reports for the upstream version of Time::Zone can be filed at http://rt.cpan.org/Public/Bug/Report.html?Queue=TimeDate -- Configure bugmail: https://bugzilla.mozilla.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You reported the bug. -- Sloan Looney Resilient Networks 415-254-3169
From: terence [...] deeproot.co.in
Hi, I confirm this bug on a server with timezone set to IST. When I run use Date::Format qw/strftime/; print "Timezone offset: " . strftime ("%z", @{[localtime()]}) . "\n"; I get +051800. Whereas if I use POSIX, I get the correct +0530. Regards, Terence.
The problem with IST is it can be any one of IST Indian Standard Time +5.5 Ireland Standard Time 0 Israel Standard Time +2 depending where you are in the world your system is probably configured to the most appropriate for your locale. This is why IST is commented out in Time::Zone