Timestamps
Main Rules:
Timestamps with a timezone
- Timestamps sent or received with a timezone will always be converted to the owner's timezone.
Timestamps without a timezone
- Timestamps sent or received without a timezone will not be converted and will be interpreted as being in the owner's timezone.
Payloads
Dates handled within the Owner's timezone should always be sent without specifying a timezone.
Dates representing system events or changes will include a timezone.
Examples:
Payloads without timezone:
- Timestamp:
2024-08-23T12:00:00
Booking
:start_at
,end_at
Inquiry
:start_at
,end_at
Insurance
:start_at
,end_at
- Timestamp:
Payloads with timezone:
- Timestamp:
2024-08-23T12:00:00+00:00
Booking
:created_at
,updated_at
,deleted_at
Inquiry
:created_at
,updated_at
,deleted_at
Insurance
:created_at
,updated_at
,deleted_at
- Timestamp:
Last modified: 3 months ago