Skip to content

Commit

Permalink
Item1447: changed timezone of the test to northern hemisphere to avoi…
Browse files Browse the repository at this point in the history
…d problems with DST on the testing machine

git-svn-id: http://svn.foswiki.org/trunk@3433 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Apr 14, 2009
1 parent 5bee6e0 commit 0f06617
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnitTestContrib/test/unit/TimeTests.pm
Expand Up @@ -105,8 +105,8 @@ sub test_parseTimeLocal {
sub test_generateIsoOffset {
my $this = shift;

# South Australia has a half-hour TZ difference; handy
$ENV{TZ} = 'Asia/Katmandu'; # GMT+09.30
# Nepal has a wierd TZ difference; handy
$ENV{TZ} = 'Asia/Katmandu'; # GMT+05:45
POSIX::tzset();
undef $Foswiki::Time::TZSTRING;
my $tt = Foswiki::Time::parseTime('2009-02-07T10:22+05:45');
Expand Down

0 comments on commit 0f06617

Please sign in to comment.