Skip to content
This repository was archived by the owner on Aug 6, 2020. It is now read-only.
This repository was archived by the owner on Aug 6, 2020. It is now read-only.

Problem with handling polish locale #80

@marcinkunert

Description

@marcinkunert

Steps to reproduce:

  1. Include Moment.js
  2. Include moment/locale/pl.js - Moment.js will automagically use this locale now.
  3. Problem occurs:
Cannot read property '10' of undefined
    at getMonthYearToDisplay (multipleDatePicker.js:177)
    at Scope.scope.generate (multipleDatePicker.js:438)
    at multipleDatePicker.js:243
    at Scope.$digest (angular.js:17524)
    at Scope.$apply (angular.js:17790)
    at angular.js:19621
    at completeOutstandingRequest (angular.js:5964)
    at angular.js:6243

I've tried printing current date:

moment().format('MMMM Do YYYY, h:mm:ss a')

worked without any problems and displayed the date in polish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions