Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Error: b.DATETIME_FORMATS.STANDALONEMONTH is undefined #6349

Closed
Mr-Anonymous opened this issue Dec 6, 2016 · 3 comments
Closed

Error: b.DATETIME_FORMATS.STANDALONEMONTH is undefined #6349

Mr-Anonymous opened this issue Dec 6, 2016 · 3 comments

Comments

@Mr-Anonymous
Copy link

Bug description:

I keep getting the error Error: b.DATETIME_FORMATS.STANDALONEMONTH is undefined when I use the datepicker. I stripped everything out of my directive and even the bare minimum of the datepicker code like below throws this error when its loaded. Tried it from Mac:

return {
              restrict: 'A',
              replace: true,
              template: '<p>' +
                            '<input type="text" name="dob" class="form-control" placeholder="Date of Birth" uib-datepicker-popup />' +
                        '</p>',
          }

Version of Angular, UIBS, and Bootstrap

Angular: 1.4.8

UIBS: 2.3.0

Bootstrap: 3.3.7

@Mr-Anonymous
Copy link
Author

The error only seems to happen with Angular 1.4.x version. The error did not show after updating Angular from 1.4.8 to 1.5.9.

@wesleycho
Copy link
Contributor

The documentation mentions that it is only usable with Angular 1.5 - are you trying to use this feature with Angular 1.4, or is it erroring regardless?

@wesleycho
Copy link
Contributor

Figured out exactly why this failed, will push up fix shortly & cut a release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants