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

Getting the date always return year 2021 even if i've selected year 2020 #301

Open 2assas opened 3 years ago

2assas commented 3 years ago

Please solve this year issue, thanks

MitjaHenner commented 3 years ago

Having some problems too, sometimes "today" and the next day is missing and then it returns the year + 1. Not sure when it happens, and Im not able to replicate it reliably.

MitjaHenner commented 3 years ago

Are you using a custom "today" text? It looks like the custom text is creating problems for me.

pwojtowicz-rg commented 3 years ago

Having same issue, custom today text is causing it. Can we have a fix for it? It's very needed.

MitjaHenner commented 3 years ago

I removed the custom today text for now but since I support 29 languages the translation is missing for a few.

pwojtowicz-rg commented 3 years ago

I've found solution for this issue, I forked this beautiful widget and added translations in strings.xml for languages I need and it is workig perfectly.