diff options
author | Andreas Hubel | 2019-08-30 11:51:41 +0300 |
---|---|---|
committer | Andreas Hubel | 2019-08-30 12:05:57 +0300 |
commit | 01f150f6cd25a648c2c9a3f0d373e61dcc6581cc (patch) | |
tree | 2f8679166929d21835093fe5bbbc165239f6cea5 /configs/conferences/foss4g-2019 | |
parent | 7920fa038671c1fb7ddb337e5a7b224c1b6c453a (diff) |
foss4g set timezone
Diffstat (limited to 'configs/conferences/foss4g-2019')
-rw-r--r-- | configs/conferences/foss4g-2019/config.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/conferences/foss4g-2019/config.php b/configs/conferences/foss4g-2019/config.php index f88562a..e238d8d 100644 --- a/configs/conferences/foss4g-2019/config.php +++ b/configs/conferences/foss4g-2019/config.php @@ -1,5 +1,8 @@ <?php +$prev_tz = date_default_timezone_get(); +date_default_timezone_set('Europe/Bucharest'); + $CONFIG['CONFERENCE'] = array( /** * Der Startzeitpunkt der Konferenz als Unix-Timestamp. Befinden wir uns davor, wird die Closed-Seite @@ -696,7 +699,7 @@ $CONFIG['SCHEDULE'] = array( * Diese folgende Beispiel-Zeile Simuliert, dass das * Konferenz-Datum 2014-12-29 auf den heutigen Tag 2015-02-24 verschoben ist. */ - 'SIMULATE_OFFSET' => 0, + 'SIMULATE_OFFSET' => 3600, ); @@ -800,4 +803,5 @@ $CONFIG['TWITTER'] = array( ); +date_default_timezone_set($prev_tz); return $CONFIG; |