Skip to content

Commit 528eed7

Browse files
committed
test: fix invalid locale value
locale Is a BCP 47 compliant language tag. See https://www.php.net/manual/en/locale.setdefault.php
1 parent 1aeb5b3 commit 528eed7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/I18n/TimeDifferenceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function setUp(): void
2828
helper('date');
2929

3030
$this->currentLocale = Locale::getDefault();
31-
Locale::setDefault('America/Chicago');
31+
Locale::setDefault('en-US');
3232
}
3333

3434
protected function tearDown(): void

0 commit comments

Comments
 (0)