Timezone Offsets
Here is how we handle timezone offsets in API v1 calls:
- We use the following standard date format: ISO_8601_FORMAT_DATE_TIME = "YYYY-MM-DD'T'hh:mm:ss±hh:mm".
- We either save the date as it is or extract the offset value if it contains an offset.
- Unlike in API v2, in API v1 we don’t validate the timezone.
Example Each Mambu tenant has one timezone. Let’s take for example tenants in the East European time zone (UTC+02:00).
| Date and time of request | What is saved in the database |
|---|---|
| 2021-03-09T13:37:50 | 2021-03-09 13:37:50 |
| 2021-03-09T13:37:50+02:00 | 2021-03-09 11:37:50 |
note