Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 27, 2020. It is now read-only.
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Object doesn't support property or method 'formatToParts' #35

Open
@ellioseven

Description

I am trying to do the following:

const date = new Date()
new Intl.DateTimeFormat("en", {
 timeZone: "en",
 weekday: 'long',
 year: 'numeric',
 month: 'numeric',
 day: 'numeric',
 hour: 'numeric',
 minute: 'numeric',
 second: 'numeric',
 hour12: true
}).formatToParts(date)

However, I am getting the following in IE11:

Object doesn't support property or method 'formatToParts'

Am I missing something here? I can see from the previous issues that this is/was suppported.

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

        AltStyle によって変換されたページ (->オリジナル) /