Skip to content

PlainTime should not implement toZonedDateTime #64

@rkh

Description

@rkh

This polyfill adds a non-spec PlainTime.prototype.toZonedDateTime.

This function is incompatible with the signature of any other toZonedDateTime function, meaning that this code breaks with the polyfill:

// value being any temporal object
if ('toZonedDateTime' in value) value.toZonedDateTime('UTC').epochMilliseconds;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions