bombillazoB
Deno13mo ago
bombillazo

Deno vs Node `Intl.DateTimeFormat().resolvedOptions()` discrepancies

Hello, we use
dayjs
as our time lib, and we noticed some issues related to timezone dates. At first I thought it was
dayjs
plugins misbehaving or giving problems, but then I used
Intl.DateTimeFormat().resolvedOptions()
to verify the detected system TZ and notices a huge discrepancy.

Node is outputting
America/Puerto_Rico
which is the correct TZ while deno outputs
America/Anchorage
. Is this known issue?
image.png
image.png
Was this page helpful?