TimeZonedDatesMixin

Properties

2
isTimeZonedDatesMixin: Boolean= truereadonly
Identifies an object as an instance of TimeZonedDatesMixin class, or subclass thereof.
isTimeZonedDatesMixin: Boolean= truereadonlystatic
Identifies an object as an instance of TimeZonedDatesMixin class, or subclass thereof.

Functions

1

Returns true if the field is adjusted by timeZone config.

ParameterTypeDescription
fieldNameString

Name of a field

Returns: Boolean -

true if the field is adjusted by timeZone config.

Fields

1
timeZone: String | Number | null

The current timeZone this record is converted to. Used internally to keep track of time zone conversions.

Can also be used to create a new record with dates in a specific non-local timezone. That is useful for example when replacing a store dataset. That would be interpreted as a new load, and all dates would be converted to the configured timezone.

If specifically set to null when adding a new record to a Store, the new record's dates will be converted to the Project's configured timezone.

If set to false on a record, that record will be excluded from timezone conversion.

For more information about timezone conversion, se timeZone.

This field will not persist by default.