atoomic / perl-TimeDate

time & date parsing and formatting perl library
http://search.cpan.org/dist/TimeDate/
1 stars 4 forks source link

Date::Language does not translate time zones [rt.cpan.org #52878] #1

Open atoomic opened 4 years ago

atoomic commented 4 years ago

Migrated from rt.cpan.org#52878 (status was 'new')

Requestors:

From volker.voit@googlemail.com on 2009-12-17 22:53:17 :

Hi,

I really like the Date::Language-Module.
But recently I discovered that time zones abbreviations (%Z) are not
translated.

    use Date::Language 1.10;
    my $lang = Date::Language->new('German');
    print $lang->time2str("%Z\n%z\n", time);
    __END__
    CET
    +0100

This time zone here should be MEZ

When I change my date so that I have daylight saving time the outout
reads (for some randomly selected languages)

    MEST
    +0200

In English this should be "CEST" and in German "MESZ".

Thanks and cheers,
    VoV