You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This prints zdt1 as 2025-01-09Tundefined:undefined:undefined.000000NaN+00:00[UTC] and then the until call crashes with:
file:///path/node_modules/temporal-polyfill/chunks/internal.js:1944
throw new RangeError(co);
^
RangeError: Invalid protocol results
at file:///path/node_modules/temporal-polyfill/chunks/internal.js:1944:13
at diffZonedEpochsBig (file:///path/node_modules/temporal-polyfill/chunks/internal.js:1948:5)
at pe (file:///path/node_modules/temporal-polyfill/chunks/internal.js:1860:11)
at Temporal.ZonedDateTime.until (file:///path/node_modules/temporal-polyfill/chunks/classApi.js:509:29)
at Temporal.ZonedDateTime.until (file:///path/node_modules/temporal-polyfill/chunks/classApi.js:10:16)
at file:///path/index.ts:6:72
at ModuleJob.run (node:internal/modules/esm/module_job:273:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:600:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:98:5)
On v0.2.5 it outputs:
2025-01-09T00:00:00+00:00[UTC]
-P61DT6H
The text was updated successfully, but these errors were encountered:
This is fixed in v0.3.0-beta.1. Had some issues with minification mangling property names incorrectly, and there was a bug where the CI didn't run tests against the minified version.
This prints zdt1 as
2025-01-09Tundefined:undefined:undefined.000000NaN+00:00[UTC]
and then theuntil
call crashes with:On v0.2.5 it outputs:
The text was updated successfully, but these errors were encountered: