DenoDDeno
Powered by
bombillazoB
Denoβ€’16mo agoβ€’
9 replies
bombillazo

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

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

Node is outputting
America/Puerto_Rico
America/Puerto_Rico
which is the correct TZ while deno outputs
America/Anchorage
America/Anchorage
. Is this known issue?
image.png
image.png
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Deno vs Node 24 security
dieman β™° βΊβ‚ŠDdieman β™° βΊβ‚Š / help
7mo ago
deno_node
alexAalex / help
2y ago
Deno vs Node for writing a React component library.
cameron808Ccameron808 / help
3y ago