Skip Menu |

This queue is for tickets about the TimeDate CPAN distribution.

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

Owner: Nobody in particular
Requestors: kdekker [...]

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

Subject: METDST time zone unknown
Download (untitled) / with headers
text/plain 938b
I found that the function tz_offset() in module (version 2.22) could not handle time a zone name like: METDST (like used for HPUX, AIX systems, which is middle european time, daylight saving) The problem is that some Unix systems return the name of the time zone when using the %z argument in the posix call to strftime (see also manual pages for strftime), similar to %Z argument. Some other Unix platforms do not support %z and let that argument untouched, and Linux/GNU systems has a different meaning for %z, i.e. the difference of time compared to GMT. Can you please add metdst in @dstZone the hash table as recognized zone in (I assume that METDST is similar to MEST and CEST) perl version=5.8.0 OS: AIX4.3.3, HPUX11.0 and probably others who return METDST in (posix)strftime() testscript: require Time::Zone; use POSIX 'strftime'; $diff = Time::Zone::tz_offset("METDST"); print "Diff: $diff\n";

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

Please report any issues with to