ipraba / EPCalendarPicker

Colourful calendar for iOS written in Swift
MIT License
347 stars 73 forks source link

Disable date selected #18

Closed RonakPatel07 closed 8 years ago

RonakPatel07 commented 8 years ago

set multiple selection to false then in single selection past date is also selectable.

YMonnier commented 8 years ago

Hello, I have pulled request to solve this problem. It is still waiting...

YM

ipraba commented 8 years ago

Fixed it here https://github.com/ipraba/EPCalendarPicker/commit/0dd4d6d045ebd7c82fcf9c7221c78fb8c398eda4

RonakPatel07 commented 8 years ago

Thanks!!

RonakPatel07 commented 8 years ago

Hii..

Why this shows me 1 day before? when i select any date for ex. i select 21 then its shows me 20

ipraba commented 8 years ago

When you print any date the date will be printed based on GMT. If you are in GMT + some hours then it will print it like the time is yesterday. All NSDates are printed always with GMT time and not your local time.