MDCalendar
MDCalendar copied to clipboard
Calendar week always starts from Sunday
First of all, thanks for an amazing control!
After playing out a little with it, I found that you haven't implemented the case when a week starts from Monday. Looking int the array of weekdays it clearly looks so.
I've changed the array to start from Monday and inside the "NSDate+MDCalendar.h" file I've also changed all NSCalendar declarations to look like this:
NSCalendar *calendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSCalendarIdentifierGregorian]; calendar.locale = [NSLocale currentLocale];
However, the calendar still doesn't technically start from Monday. Any other steps I should implement?
Thank you.