Because Temporal.Instant does not carry a time zone, the time zone used for the output will be the timeZone property of options, if present; and otherwise, the current time zone from the environment, which is usually the system's time zone.
However, in this implementation calling toLocaleString() on an Instant with no arguments seems to default to UTC.
Based on my own manual testing with the Intl.DateTimeFormat API, as well as the MDN docs, simply removing the default and letting the time zone ID be undefined should provide this behavior automatically:
According to the official Temporal documentation (emphasis mine):
However, in this implementation calling
toLocaleString()
on anInstant
with no arguments seems to default to UTC.It seems to be happening on this line: https://github.com/fullcalendar/temporal/blob/ed6586020b157cf9ad647e2688dd869542c895f2/packages/temporal-polyfill/src/native/intlFactory.ts#L188
Based on my own manual testing with the
Intl.DateTimeFormat
API, as well as the MDN docs, simply removing the default and letting the time zone ID be undefined should provide this behavior automatically: