florent37 / SingleDateAndTimePicker

You can now select a date and a time with only one widget !
Apache License 2.0
1.02k stars 333 forks source link

Date picker not showing today and tomorrow day. #264

Closed nasirlordno1 closed 4 years ago

nasirlordno1 commented 4 years ago

Datepicker isnt showing today and tomorrrow date. and previous date dayname is also wrong. today date is 19 Mar.

date-picker

fawadaliii commented 4 years ago

i got same problem whats the issue is this?

parkarta commented 4 years ago

Yes this is the issue appearing my side too.. please help.

fawadaliii commented 4 years ago

@parkarta I also didn't find any solution till now.

fawadaliii commented 4 years ago

where is @nasirlordno1 any guide??

nasirlordno1 commented 4 years ago

where is @nasirlordno1 any guide??

no solution.I am also waiting for someone to answer.

jturin commented 4 years ago

Looks like the library is not prepared for leap years: https://github.com/florent37/SingleDateAndTimePicker/blob/master/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/SingleDateAndTimeConstants.java#L9

ardevd commented 4 years ago

Same issue here. Any way to resolve the issue?

ardevd commented 4 years ago

Downgrading to v2.1.4 fixes the issue for me.

G00fY2 commented 4 years ago

Issue appears since 2.1.6. I am currently investigating and trying to provide a PR.

Ok, the bug is fixed in #267. Pls upvote this PR so that it gets accepted ASOP.

arberg commented 4 years ago

This issue can be closed now. Fixed in v2.2.1.