angular-datepicker icon indicating copy to clipboard operation
angular-datepicker copied to clipboard

Wrong day of the week

Open wallace7souza opened this issue 11 years ago • 7 comments

I'm using in portuguese language and something weird happens on the calendar. Example today is thursday but the calendar moves the date to wednesday. I don't know how to proceed to solve this "version": "1.0.12",

UPDATE: Maybe something conflict with translate on angular-i18n for portuguese: "SHORTDAY": [ "dom", "seg", "ter", "qua", "qui", "sex", "s\u00e1b" ],

Move "dom" to last position correct the component datapicker wrong

wallace7souza avatar Aug 14 '15 00:08 wallace7souza

hi, still having this issue?

eralha avatar Aug 17 '15 11:08 eralha

Same issue here and it's not related to i18n

screen shot 2015-08-27 at 9 48 14 am

Today should be Thursday

santiagovazquez avatar Aug 27 '15 12:08 santiagovazquez

More info please, browser, version etc...

eralha avatar Aug 27 '15 13:08 eralha

It's a bug on "1.0.12" version. It's fixed on newer commits.

In order to use the latest version @wallace7souza you'll need to include angular-moment on your html file (and of course update your bower file).

@eralha Also I had to change the template path in order to work (I just created a PR): screen shot 2015-08-27 at 10 27 35 am

santiagovazquez avatar Aug 27 '15 13:08 santiagovazquez

@eralha Thanks. Impressive response time :smile:

santiagovazquez avatar Aug 27 '15 14:08 santiagovazquez

@santiagovazquez :)

eralha avatar Aug 27 '15 15:08 eralha

Same issue on Nov....

ronyvieira avatar Nov 07 '15 16:11 ronyvieira