syshen / FlatDatePicker

MIT License
158 stars 23 forks source link

Fix wrong comparison from NSDateComponents that which returns a 1-bas… #19

Closed MaChristmann closed 9 years ago

MaChristmann commented 9 years ago

Fix wrong comparison from NSDateComponents that which returns a 1-based date while the scroller returns a 0-based date. Ex: Setting a day that is 1 day behind the current day was not possible.