You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

In SimpleOne, all times are stored in the UTC timezone and appear based in the system time zone. But to users, times appear in their local time zone, according to their preference settings.

This functionality is used whole across the system, for example, in Timepoint Indicators, email notifications, and so on, so very important to set up them carefully, taking all the conditions into account.

Setting up a new timezone


When an instance is deployed or updated, it synchronizes with the IANA database and copy a pack of standard timezones actual for a deploy date. All newly created timezones must be extended from the standard ones.


To create a new timezone, please complete the steps below:

  1. Navigate to System Localization → Timezones.
  2. Click New and fill in the fields.
  3. Click Save or Save and Exit to apply changes.

Timezones fields description

Field

Description

NameTimezone name. It is recommended to use the Country/City format when naming the timezone like listed in the TZ database. This field is of the String type and takes only English language.
TitleSpecify the timezone title. It is used in different interface components, such as choice list in the General Preferences menu, and it is multilanguage.
UTC OffsetIn this field. the UTC offset (the difference from Universal Coordinated Time) is specified. This field is read-only and inherits offset of the timezone specified in the Parent field.
ActiveSpe
Deprecated
Parent






Timezones in email notifications


The date and time in notifications are set using the system time zone; the recipient time zone is not taken into account.

The system property simple.email.append.timezone controls this aspect and allows to append timezone to dates and times in sent emails.

This property is of the Boolean type, so it can take the only values TRUE or FALSE. When set to TRUE, then the system timezone is appended to time and date in notifications.

Changing the value


Role required: admin.

To change the property value, please complete the steps below:

  1. Navigate to System Properties → System Properties;
  2. Locate this property in the list and click on it;
  3. Change the value in the Value field.

Default timezone


You can define a default timezone either for a single user logged in a system or for all users.

Setting a default timezone for a single user

It can be done in two ways:

  1. In the General Preferences menu, as described in this section.
  2. Configuring relevant User Preferences.

To go the second way, please complete the steps below:

  1. Navigate to User Administration → User Preference.
  2. Click New and fill in the fields.
  3. Click Save or Save and Exit to apply changes.
FieldDescription
UserSpecify a user for which you are specifying a default timezone
NameA preference name. In this case, type: user.timezone.
ValueA preference value, for example, UTC.

When specifying a default timezone for a user via the General Preferences menu, a record in the User Preferences dictionary is created.

Setting a default timezone for all users

To define a default timezone for all users, you need to change the relevant system property value. The user.timezone.default property is responsible for this. To change this property value, please complete the steps below:

  1. Navigate to System Properties → System Properties.
  2. Click on the magnifier icon on the top of the list; the search string appears.
  3. Enter the property name into the Name field and perform a search.
  4. When found, click on the property name.
  5. Type the necessary timezone into the Value field; this property will affect all users in the system.
  6. Click Save or Save and Exit to apply changes.

  • No labels