New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localeData().months() or weekdays() throws exception or undefined in 14 locales #3805

Closed
timfish opened this Issue Mar 4, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@timfish
Contributor

timfish commented Mar 4, 2017

Previously reported in this issue but they're two separate issues.

localeData().monthsShort() appears to be broken for:

  • es
  • es-do
  • nl
  • nl-be
  • fy

Both m and format are undefined when getting the locale data:

    monthsShort : function (m, format) {
        if (/-MMM-/.test(format)) {
            return monthsShort[m.month()];
        } else {
            return monthsShortDot[m.month()];
        }
    }
@timfish

This comment has been minimized.

Contributor

timfish commented Mar 5, 2017

One or more localeData methods are also broken for:

  • be
  • el
  • hr
  • hy-am
  • ka
  • lt
  • pl
  • ru
  • uk

@timfish timfish changed the title from localeData().monthsShort() throw exception in es, es-do, nl, nl-be and fy to localeData().months() or weekdays() throws exception or undefined in 14 locales Mar 5, 2017

ichernev added a commit that referenced this issue Mar 11, 2017

@ichernev ichernev closed this in 1d70961 Mar 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment