Skip to content

Replacement for defaultDateTimePattern #16

@mwoc

Description

@mwoc

In 4191753 the defaultDateTimePattern property was removed from the calendars, but it turns out I am using this in another library, like this:

var timeFormatString = inter.getDateFormat(formatId[0]),
      dateFormatString = inter.getDateFormat(formatId[1]);
      dateFormat = inter.calendars.gregorian.defaultDateTimePattern.replace('{0}', timeFormatString).replace('{1}', dateFormatString);

Could you advise what the ideal way of replacing this in my end is?

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