No categories assigned

Time Zone

< Setup:Installation Manual‎ | Optimization
Revision as of 10:14, 20 July 2017 by RichardHeigl (talk | contribs) (Tip for this Document)


Even if every user can change his time zone himself in the user settings, BlueSpice sets the default time zone "Europe/Berlin" when the user first logs in. This document describes how to change this if necessary.

Tips for this Document

  • Please, read this manual completely and work through the single installtion steps one after another. 
  • For editing the configuration files with a text editor, the files must be saved in UTF-8 coding without BOM (Byte Order Mark).
  • The placeholder <installpath-bluespice> stands for the path to your BlueSpice installation, e.g C:\inetpub\wwwroot\bluespice (Windows) or /var/www/bluespice (Linux).

Changing the Time Zone

Open the file <installpath-bluespice>/settings.d/001-DefaultSettings.php. In delivery stat, you can find these two lines there:

$wgLocaltimezone = 'Europe/Berlin';
$wgDefaultUserOptions['timecorrection'] = 'ZoneInfo|' . (date("I") ? 120 : 60) . '|Europe/Berlin';

Replace "Europe / Berlin" with your time zone. An overview of all possible time zones can be found in the official PHP documentation.
Save and close the file.

Attachments

Discussions