site.ini [TimeZoneSettings]
The block [TimeZoneSettings] of settings/site.ini, with 1 setting(s).
Never edit settings/site.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/site.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/site.ini.append.phpfor one siteaccess,extension/<extension>/settings/site.ini.append.phpin an extension (read when the extension is active).
TimeZone
Override this value to set timezone to other than OS default.
See /usr/share/zoneinfo/zone.tab for possible values ( 3rd column ).
Example: TimeZone=America/AntiguaThe site's time zone: dates in templates, timed publishing, and the times cache_until() reads
('tomorrow' is midnight here). Empty: PHP's date.timezone (often UTC, or the zone of a container image).
A new installation writes it to settings/override/site.ini.append.php (exp:install --timezone=, kickstart.ini
[language_options] TimeZone, else derived from the primary language); Setup > System information notes
it while it is empty (a warning when PHP has no zone either).Notice: This will not work on threaded web servers or on Windows.
Use only with Apache 1.3 or 2.0 prefork on *nix.
Default: empty.
# settings/override/site.ini.append.php
[TimeZoneSettings]
TimeZone=
*/ ?>Related
Generated by ./console exp:help:examples from settings/site.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.