Display Timezones
Display Timezones
N2FE supports timezone selection on per user basis. Each user can select a timezone that matches their current location and this will be reflected when configuring and displaying data within the application.
N2FE supports the configuration of the timezones that are presented to a user when changing their timezone. To configure the display timezones one key step is required.
- Configure the N2FE configuration file,
/etc/jarvis/n2fe.xml
and alter thedisplay_timezones
as required.
N2FE Service Configuration
All available display timezones are configured via a list of enabled display timezones within the habitat
configuration and can be altered as required.
At least one display timezone must be configured. If only one timezone is configured users will not receive the ability to change their timezone, instead it will be set as their timezone by default.
The habitat must include the following XML fragment:
"display_timezones": [
{
"name": "NSW and ACT",
"value": "Australia/Sydney",
"default": true
},
{
"name": "VIC and TAS",
"value": "Australia/Melbourne"
},
{
"name": "QLD",
"value": "Australia/Brisbane"
},
{
"name": "SA",
"value": "Australia/Adelaide"
},
{
"name": "NT",
"value": "Australia/Darwin"
},
{
"name": "WA",
"value": "Australia/Perth"
}
],
Configuration options include:
Option | Description |
---|---|
name |
[Required] Formatted name value that will be shown on the client when a user opts to change their password. |
value |
[Required] Unique timezone value that matches one of the available timezone names supported by NNC and Oracle Db. |
default |
Whether the display timezone is the default timezone assigned when a user logs into the application for the first time. |
Timezone Mappings
A list of all of the available timezone values can be found as follows. This file contains a list of all of the timezones currently supported by NCC and the Oracle DB.
Supported Timezones: Download