Skip to content

Commit

Permalink
Disabled some locale-dependent tests in std.datetime.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdavis committed Oct 1, 2011
1 parent 9b41185 commit 429f5b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions std/datetime.d
Expand Up @@ -27751,8 +27751,8 @@ auto tz = TimeZone.getTimeZone("America/Los_Angeles");
else version(Windows)
_assertPred!"=="(tz.name, stdName);

_assertPred!"=="(tz.stdName, stdName);
_assertPred!"=="(tz.dstName, dstName);
//_assertPred!"=="(tz.stdName, stdName); //Locale-dependent
//_assertPred!"=="(tz.dstName, dstName); //Locale-dependent
_assertPred!"=="(tz.hasDST, hasDST);

immutable stdDate = DateTime(2010, north ? 1 : 7, 1, 6, 0, 0);
Expand Down Expand Up @@ -27810,8 +27810,8 @@ auto tz = TimeZone.getTimeZone("America/Los_Angeles");
auto leapTZ = PosixTimeZone.getTimeZone("right/" ~ tzName);

assert(leapTZ.name == "right/" ~ tzName);
assert(leapTZ.stdName == stdName);
assert(leapTZ.dstName == dstName);
//assert(leapTZ.stdName == stdName); //Locale-dependent
//assert(leapTZ.dstName == dstName); //Locale-dependent
assert(leapTZ.hasDST == hasDST);

auto leapSTD = SysTime(std.stdTime, leapTZ);
Expand Down

0 comments on commit 429f5b4

Please sign in to comment.