Skip to main content

Timezone

Stored in the timezones collection. createdAt and updatedAt are maintained automatically.

Returned by GET /timezone, POST /timezone, DELETE /timezone/:id, GET /timezone/:id, PUT /timezone/:id, POST /timezone/initialize and 2 more.

Example​

One real Timezone as returned by GET /timezone. Recorded from a live response, so the defaults, denormalised snapshots and populated fields are the actual ones:

{
"timezones": [],
"pagination": {
"currentPage": 1,
"totalPages": 0,
"totalCount": 0,
"limit": 50,
"hasNextPage": false,
"hasPrevPage": false,
"nextPage": null,
"prevPage": null
},
"filters": {
"search": "",
"global": "true",
"sort": "offset,option"
}
}

:::note Trimmed for reading A populated reference is shown by the fields that identify it rather than in full — it arrives as the entire referenced document. Long arrays are cut to the first two entries and marked, long strings are truncated, and any field that could carry a credential is dropped rather than masked. :::

Fields​

FieldTypeNotes
valuestringrequired · unique
abbrstringrequired
offsetnumberrequired
isdstbooleanrequired · default false
textstringrequired
utcstring[]required · default []
createdByObjectId -> Memberdefault null
updatedByObjectId -> Memberdefault null
_idObjectId
createdAtdateset once
updatedAtdate

Virtuals (computed, present only when the endpoint asks for them): displayText.