Persian-Date-Picker-Dialog icon indicating copy to clipboard operation
Persian-Date-Picker-Dialog copied to clipboard

Wrong year after set init date

Open javadghane opened this issue 3 years ago • 1 comments

Hi, thanks for this great library. when i set the init date like this: picker.setInitDate(1398,12,20) then using 'show' method, the year on the dialog is current year and showing wrong.

javadghane avatar Feb 17 '22 22:02 javadghane

@javadghane it turns out that in order to be able to set initDate, you should set maxYear(). set, for instance, maxYear(1410) and you are good to go

Hoss3inf avatar May 12 '22 08:05 Hoss3inf