Skip to content

Another time zone

The Luxon adapter with a timeZone lays the same moments out in another zone’s wall-clock time.

Result· switch the zone
const adapter = useMemo(() => new LuxonAdapter({ locale: "en-GB", timeZone }), [timeZone]);
<DateLocalizationProvider adapter={adapter}>
<Calendar {...props} />
</DateLocalizationProvider>

For Temporal.ZonedDateTimes use the Temporal adapter: see Time zones.