Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime CPAN distribution.

Report information
The Basics
Id: 102102
Status: rejected
Priority: 0/
Queue: DateTime

People
Owner: Nobody in particular
Requestors: GVL [...] cpan.org
Cc:
AdminCc:

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



Subject: DST conversion fail
Back and forth DST conversion from local timezone (Europe/Bucharest) to GMT fails: $ perl -MDateTime -e 'my $a = DateTime->new(year => 2014, month => 10, day => 26, hour => 0, time_zone => "GMT"); print $a->set_time_zone("Europe/Bucharest")' 2014-10-26T03:00:00 $ perl -MDateTime -e 'my $a = DateTime->new(year => 2014, month => 10, day => 26, hour => 3, time_zone => "Europe/Bucharest"); print $a->set_time_zone("GMT")' 2014-10-26T01:00:00
See https://metacpan.org/pod/DateTime#Ambiguous-Local-Times This is the documented behavior.