You are viewing an old version of this page. Return to the latest version.
Version of 17:44, 5 April 2017 by WikiSysop
Difference between revisions of "Setup:Installation Manual/Optimization/Time Zone"
< Setup:Installation Manual | OptimizationReturn to history page
← Setup:Installation Manual/Optimization/Time Zone
← Setup:Installation Manual/Optimization/Time Zone
| [quality revision] | [quality revision] |
(Created page with "{{DISPLAYTITLE:Time Zone}} __TOC__ Even if every user can change his time zone himself in the user settings, BlueSpice sets the default time zone "Europe/Berlin" when the us...") |
Contents
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.
Tip Tips for this Document[edit | edit source]
- Please, read this manual completely and work through the single installtion installation steps one after another.
- For editing For editing the configuration files with a text editor, the files must be saved in saved in UTF-8 coding without BOM BOM (Byte Order Mark).
-
The placeholder placeholder
<installpath-bluespice>stands stands for the path to your BlueSpice installation, e.g gC:\inetpub\wwwroot\bluespice(Windows ) or regarding the documentation "Folder structure under Windows") or/var/www/bluespice(Linux). -
The placeholder
<tomcat-webappsstands for the path to the webapps directory of your Tomcat server, e.gC:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps(Windows) or/var/lib/tomcat8/webapps(Linux).
Changing the Time Zone[edit | edit source]
Open Copy the file <installpath-bluespice>/settings.d/001-DefaultSettings.php to <installpath-bluespice>/settings.d/001-DefaultSettings.local.php and open it. 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.
{{DISPLAYTITLE:Time Zone}}
__TOC__
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.
==TipTips 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 {{Setup-document-note}}
==Changing the Time Zone==
Copy the file <code><installpath-bluespice></code> stands for the path to your BlueSpice installation, e.g <code>C:\inetpub\wwwroot\bluespice</code> (Windows) or <code>/var/www/bluespice</code> (Linux).
==Changing the Time Zone==
Open the file /settings.d/001-DefaultSettings.php to <code><installpath-bluespice></code>/settings.d/001-DefaultSettings.local.php and open it. 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 [http://php.net/manual/en/timezones.php official PHP documentation].<br />Save and close the file.
[[en:{{FULLPAGENAME}}]][[de:Setup:Installationsanleitung/Optimierungen/Zeitzone]]| (4 intermediate revisions by 2 users not shown) | |||
| Line 5: | Line 5: | ||
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. | 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== |
| − | + | {{Setup-document-note}} | |
| − | |||
| − | |||
==Changing the Time Zone== | ==Changing the Time Zone== | ||
| − | + | Copy the file <code><installpath-bluespice></code>/settings.d/001-DefaultSettings.php to <code><installpath-bluespice></code>/settings.d/001-DefaultSettings.local.php and open it. In delivery stat, you can find these two lines there: | |
$wgLocaltimezone = 'Europe/Berlin'; | $wgLocaltimezone = 'Europe/Berlin'; | ||
| Line 17: | Line 15: | ||
Replace "Europe / Berlin" with your time zone. An overview of all possible time zones can be found in the [http://php.net/manual/en/timezones.php official PHP documentation].<br />Save and close the file. | Replace "Europe / Berlin" with your time zone. An overview of all possible time zones can be found in the [http://php.net/manual/en/timezones.php official PHP documentation].<br />Save and close the file. | ||
| + | |||
| + | [[en:{{FULLPAGENAME}}]][[de:Setup:Installationsanleitung/Optimierungen/Zeitzone]] | ||