orazz / CalendarPopUp

CalendarPopUp - JTAppleCalendar library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The days of the week are not matching

chococrypto opened this issue · comments

HI,
When the calendar is displayed, the days of the week at the bottom of the day view select do not match. Do you know how to fix this little bug?

capture d ecran 2018-03-05 a 20 20 30

Thank you

commented

CalendarPopUp.swift
configureCalendar function set parameters like this:

let parameters = ConfigurationParameters(startDate: startDate,
                                                 endDate: endDate,
                                                 numberOfRows: 6,
                                                 calendar: testCalendar,
                                                 generateInDates: .forAllMonths,
                                                 generateOutDates: .tillEndOfGrid,
                                                 firstDayOfWeek: DaysOfWeek.monday)

thank.