Skip to content

Commit b64f90a

Browse files
committed
Revert "Fix resolvedTimezone when dictionary fieldtype returns an array"
This reverts commit dcad5ae.
1 parent c0c0d3c commit b64f90a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Fieldtypes/Date.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,7 @@ private function timezonePlaceholder(): string
387387

388388
private function resolvedTimezone(): string
389389
{
390-
$timezone = $this->config('timezone', config('statamic.cp.default_timezone', 'auto'));
391-
392-
return is_array($timezone) ? ($timezone[0] ?? 'auto') : $timezone;
390+
return $this->config('timezone', config('statamic.cp.default_timezone', 'auto'));
393391
}
394392

395393
public function timeEnabled()

0 commit comments

Comments
 (0)