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

Datepicker warning when datepicker-options is not supplied #5762

Closed
georules opened this issue Apr 6, 2016 · 1 comment
Closed

Datepicker warning when datepicker-options is not supplied #5762

georules opened this issue Apr 6, 2016 · 1 comment

Comments

@georules
Copy link

georules commented Apr 6, 2016

Bug description:

When datepicker-options is not supplied, you get the warning "Literal date support has been deprecated, please switch to date object usage."
from here:

$log.warn('Literal date support has been deprecated, please switch to date object usage');

This was committed recently:
#5732

Link to minimally-working plunker that reproduces the issue:

http://plnkr.co/edit/rk6oFGmgURnzloSmGNLm?p=preview

Click the first popup datepicker and view the console. This problem does not arise if you include datepicker-options with min and max date. This is strange, because it seems that this is checked for here:

if (!$scope.datepickerOptions[key]) {

Version of Angular, UIBS, and Bootstrap

Angular:
1.5.3
UIBS:
1.3.1
Bootstrap:
3.3.6

@deeg
Copy link
Contributor

deeg commented Apr 6, 2016

This has already been fixed as part of 98eb8f1 and is a duplicate issue of #5743

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