Files
perl-DateTime-Format-DateManip/perl-DateTime-Format-DateManip-fix_test_est.patch

21 lines
723 B
Diff

--- t/01conversions.t.orig 2010-08-23 02:21:33.000000000 +0200
+++ t/01conversions.t 2010-08-23 02:22:01.000000000 +0200
@@ -10,7 +10,7 @@
my $dfdm = "DateTime::Format::DateManip";
## Set the timezone for Date::Manip and DateTime
-my $dm_tz = "EST";
+my $dm_tz = "US/Eastern";
my $dt_tz = "US/Eastern";
# Setup Date::Manip manually so we can force the TZ to beat a config
@@ -21,7 +21,7 @@
my @dm_to_dt_tests =
(["March 23, 2003" =>
DateTime->new(year => 2003, month => 3, day => 23, time_zone => $dt_tz) ],
- ["March 23, 2003 12:00 EST" =>
+ ["March 23, 2003 12:00 US/Eastern" =>
DateTime->new(year => 2003, month => 3, day => 23,
hour => 12, time_zone => $dt_tz) ],
);