Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change week view start day to Monday from Sunday #101

Open
rvishal1991 opened this issue Jul 11, 2017 · 1 comment
Open

How to change week view start day to Monday from Sunday #101

rvishal1991 opened this issue Jul 11, 2017 · 1 comment

Comments

@rvishal1991
Copy link

No description provided.

@mdhapa
Copy link

mdhapa commented Nov 1, 2018

@rvishal1991 you can set first day of week while configuring calendar.

extension HomeVC: JTAppleCalendarViewDataSource {
        func configureCalendar(_ calendar: JTAppleCalendarView) -> ConfigurationParameters {

            let parameters = ConfigurationParameters(startDate: startDate, endDate: endDate, numberOfRows: 1, generateInDates: InDateCellGeneration.off, generateOutDates: OutDateCellGeneration.off, firstDayOfWeek: DaysOfWeek.monday)
            return parameters
        }
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants