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

Accents show one day earlier #18

Open
z29591259 opened this issue Jan 19, 2017 · 6 comments
Open

Accents show one day earlier #18

z29591259 opened this issue Jan 19, 2017 · 6 comments

Comments

@z29591259
Copy link

I call setAccents in "onMonthSelected" function
but accents always show one day earlier, e.g. 2017-01-19 shown on 2017-01-18
the date in Date object is definitely correct, because I had checked it in Log.

This is a nice tool, I hope this issue could be solved. Thanks ^ ^

@lpfmailtest
Copy link

Yes, you are right. I am also getting same issue. If i set 6th then Calender showing me a dot in 5th.

@TKolbusz
Copy link

I guess its the same issue I experienced when selecting the date, daysAfter func in DayLayout returns wrong number

@z29591259
Copy link
Author

@TKolbusz I tested onDateSelected func, the Date object is correct.

@TKolbusz
Copy link

@z29591259 It is not about date object, it is fine. daysAfter function returns its result based on hours, minutes and seconds, not only days, thats why it doesn't work as expected

@capitancooker
Copy link

capitancooker commented Jan 25, 2017

Seems to be a time zone issue.
I try to add 22 hours and accents is on right date. All my dates are GMT+1.
Is a hugly workaround, but work. Hope is fixed soon.

@csbenz
Copy link

csbenz commented Jan 27, 2017

Getting the same issue. I suppose the lib is using a Japanese Zimezone ? :) 🗾

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

5 participants