Open mostafah opened 5 months ago
This is probably a V8 issue. The Temporal specification has been confirmed, but is in the process of being implemented by each JavaScript engine. Therefore, the--unstable-temporal
flag is required to enable it.
fyi: test262 conformance as of October 2023 https://ptomato.name/talks/tc39-2023-11/#3
Version: Deno 1.40.0
TLDR
Temporal’s proposal includes this example:
Trying the same in Deno ignores calendar:
I tried different methods of setting calendar for a
ZonedDateTime
, likeTemporal.Now.zonedDateTime("persian")
andobj.withCalendar("persian")
with different calendars (Persian, Chinese, Hebrew, Islamic) and all give the same result, which is using ISO 8601 instead of the specified calendar.