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

Comments

@timfish
Copy link
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
Copy link
Contributor Author

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 localeData().monthsShort() throw exception in es, es-do, nl, nl-be and fy localeData().months() or weekdays() throws exception or undefined in 14 locales Mar 5, 2017
ichernev pushed a commit that referenced this issue Mar 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants