/ / Oktobercms Zeitzonenausgabe - PHP, Laravel, Oktobercms

Octobercms Zeitzonenausgabe - php, laravel, octobercms

Ich versuche, die Zeitzone in OctoberCMS auf zu setzenSouth African Standard Time (SAST), habe ich versucht, app.php mit den Zeitzonen CAT, SAST, UTC + 2 und UTC + 2: 00 zu bearbeiten, aber keine werden akzeptiert.

/*
|--------------------------------------------------------------------------
| Application Timezone
|--------------------------------------------------------------------------
|
| Here you may specify the default timezone for your application, which
| will be used by the PHP date and date-time functions. We have gone
| ahead and set this to a sensible default for you out of the box.
|
*/
"timezone" => "UCT",

Antworten:

0 für die Antwort № 1

Ich fand die Antwort, so einfach es ist:

"timezone" => "Africa/Johannesburg",