0.04
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-Format-DateManip?expand=0&rev=1
This commit is contained in:
20
perl-DateTime-Format-DateManip-fix_test_est.patch
Normal file
20
perl-DateTime-Format-DateManip-fix_test_est.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
--- 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) ],
|
||||
);
|
||||
Reference in New Issue
Block a user