Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

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

Open
2assas opened this issue Sep 15, 2020 · 5 comments · May be fixed by #308
Open

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

2assas opened this issue Sep 15, 2020 · 5 comments · May be fixed by #308

Comments

@2assas
Copy link

2assas commented Sep 15, 2020

Please solve this year issue, thanks

@MitjaHenner
Copy link

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
Copy link

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

@pwojtowicz-rg
Copy link

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

@MitjaHenner
Copy link

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

@pwojtowicz-rg
Copy link

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.

Akhunzaada added a commit to Akhunzaada/SingleDateAndTimePicker that referenced this issue Nov 6, 2020
Other florent37#306, florent37#303, florent37#269, florent37#290
The issues were mainly caused because of incorrect retrieving of today item index.
Optimized today item index search on scroll.
@Akhunzaada Akhunzaada linked a pull request Nov 6, 2020 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants