Skip to content

Localization for the day suffix #106

@iluha5

Description

@iluha5

It seems like suffixes with S flag are hardcoded.
S: ['th', 'st', 'nd', 'rd'][d % 10 > 3 ? 0 : (d % 100 - d % 10 != 10) * d % 10],

Is it possible to move them to DateFormatI18n object?
Is there another way to localize such suffixes?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions