CUSTOMIZE_TIMEZONE_DISPLAY

Override timezone abbreviations for specific locations, applies to front-end and back-end views

Accepted values: array

Context: Global (client/global.config.php)

In general, LiveWhale shows you a timezone abbreviation when an event’s time differs from your local timezone. (This can be removed globally from the calendar by using the disable_timezone widget argument.)

These use the PHP system abbreviation if known (e.g. “EST, PST”) or the GMT offset if not (“+05”). In certain cases these abbreviations may be confusing, for instance if you have events happening in both US Central Standard Time and China Standard Time, both use “CST.”

Therefore, you can add the following to livewhale/client/global.config.php to override the abbreviations for individual locations and provide a fully spelled-out timezone:

// override timezone abbreviations for specific locations, applies to front-end and back-end views
$_LW->CONFIG['CUSTOMIZE_TIMEZONE_DISPLAY'] = [
  'Asia/Macau' => 'China Standard Time',
  'Asia/Shanghai' => 'China Standard Time'
];

The first value in each pairing is the PHP timezone (full list), and the second is the string you’d like to display in place of its default abbreviation.