Skip Menu |

This queue is for tickets about the TimeDate CPAN distribution.

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

Owner: Nobody in particular
Requestors: sloan.looney [...]

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 [...]
From: "Sloan Looney" <sloan.looney [...]>
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/ 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: <> Date: Thu, Jun 5, 2008 at 10:42 AM Subject: [Bug 437458] IST timezone not supported. To: Do not reply to this email. You can add comments to this bug at Frédéric Buclin <> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Frédéric Buclin <> 2008-06-05 10:42:28 PDT --- IST is commented out in /usr/lib/perl5/vendor_perl/5.8.8/Time/, 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) <> 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 -- Configure bugmail: ------- You are receiving this mail because: ------- You reported the bug. -- Sloan Looney Resilient Networks 415-254-3169
From: terence [...]
Download (untitled) / with headers
text/plain 259b
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.
Download (untitled) / with headers
text/plain 291b
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

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to