Timezone Support in Ticket Archives

lock
push_pin
done
Besvarat
0

Hello everyone,

Starting with version 11.8, datetime fields in ticket archives now include timezone support.

When calling the ticket archive OData endpoints (/api/v1/Archive) with the following header:

SO-Timezone: UTC,includeTZOffset

the behavior will be:

UTC dates → returned as UTC; the browser will automatically convert them to the computer’s local time.

Non-UTC dates → converted to the user-defined timezone.

If timezones are disabled → non-UTC dates are returned as stored in the database, while UTC dates remain in UTC.

⚠️ Note: Custom datetime fields are not converted.

The ArchiveComponent now automatically includes this header by default.

9 h, 53 m sedan | 07:27 fm

Allt Svar (0)

Lägg till svar