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

Error while change in date format #6

Closed
skandaapriya opened this issue Jan 24, 2019 · 2 comments
Closed

Error while change in date format #6

skandaapriya opened this issue Jan 24, 2019 · 2 comments

Comments

@skandaapriya
Copy link

skandaapriya commented Jan 24, 2019

Working only with date format yyyy-MM-dd but not with dd-MM-yyyy. First time selection works fine but when selection has to be changed appears as below.
image

@AdemilsonMarsiglio
Copy link

For me also gives the error. But in my case, I've changed the monthsList.

My options its here:

datePickerObj: any = {
closeOnSelect: true,
setLabel: 'OK',
todayLabel: 'Hoje',
closeLabel: 'Fechar',
titleLabel: 'Selecione uma data',
monthsList: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
weeksList: ["D", "S", "T", "Q", "Q", "S", "S"],
clearButton : false ,
};

@AdemilsonMarsiglio
Copy link

AdemilsonMarsiglio commented Jan 26, 2019

Not work for me.

If date formatted pt-br, specifically month, don't work.

print-error

print error 2

BUT if english month works.

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

No branches or pull requests

2 participants