Skip to content

Error using Temporal.ZonedDateTime.compare #345

@EmilyRagan

Description

@EmilyRagan

I'm getting the following error when running my Node project on a line that uses Temporal.ZonedDateTime.compare(...)

Error: Convert JSBI instances to native numbers using `toNumber`.

Is this an issue with the current dependency version for jsbi? I see from the readme that this polyfill is expected to work with my version of Node. I do not have this problem on the browser-side portion of my project

Version of @js-temporal/polyfill: 0.5.1
Version of jsbi dependency of @js-temporal/polyfill: 4.3.2
Version of Node: 20.13.1
Version of TypeScript: 5.3.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions