Skip to content

DatePicker: Date formatting symbols appear in aria-label #41384

@noisysocks

Description

@noisysocks

I noticed that the aria-label on the day component outputs symbols.

Screen Shot 2022-05-27 at 11 17 15 am

Not sure if the problem is in moment(). It's something to do with the locale aware format LL

This works

const ARIAL_LABEL_TIME_FORMAT = 'dddd, MMMM DD, YYYY'; // Monday, May 09, 2022

But it's not locale aware I presume so it might need some further 👀

Originally posted by @ramonjd in #41097 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Package] Components/packages/components[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions