Skip to content

Commit 9d1f126

Browse files
committed
Don't assign
1 parent 2c5792f commit 9d1f126

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Shared/Rules/TimezoneRule.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public function validate(string $attribute, mixed $value, Closure $fail): void
2020
$formatter = new IntlDateFormatter(app()->getLocale(), IntlDateFormatter::NONE, IntlDateFormatter::NONE);
2121

2222
if (! $formatter->setTimeZone($timezone)) {
23-
$timezone = 'UTC';
2423
$fail("Time zone “{$timezone}” does not appear to be supported by ICU.");
2524
}
2625
} catch (IntlException) {

0 commit comments

Comments
 (0)