Skip to content
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

@ellioseven

Description

@ellioseven

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