SingleDateAndTimePicker icon indicating copy to clipboard operation
SingleDateAndTimePicker copied to clipboard

Previous dates not available

Open karanjhinga opened this issue 4 years ago • 2 comments

Previous dates are not visible.

  • Tried setting mustBeFuture to false still no effect.
  • setting cyclic adds future dates but not the previous days

karanjhinga avatar Apr 06 '20 06:04 karanjhinga

This screenshot might help Screenshot_2020-04-06-12-02-32-497

karanjhinga avatar Apr 06 '20 06:04 karanjhinga

@karanjhinga The library currently supports date ranges of ±1 year only in both directions from the current date. In your case current date was 06.04.2020 and -1 year in past ended on day 08.04.19.

Also, since the picker is circular, after the last day of previous year, i.e. 08.04.19 you will see the previous day as 05.04.21 which is part of +1 year.

Solution: Use a separate Year picker available both from Builder class and XML.

Akhunzaada avatar Nov 06 '20 17:11 Akhunzaada