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

add day from sunday #43

Open
waqasebmacs opened this issue Feb 20, 2020 · 1 comment
Open

add day from sunday #43

waqasebmacs opened this issue Feb 20, 2020 · 1 comment

Comments

@waqasebmacs
Copy link

waqasebmacs commented Feb 20, 2020

can not start with sunday view like how to start of the week day from sunday
Sun Mon Tue .. so on

@BharadwajMarripally
Copy link

@waqasebmacs
To make it start from Sunday we need to do below modifications in library project

1 --> In WeekCalendar class go to getWeekDayNames() method. Here keep daysName.remove(0); and remove/comment daysName.add(daysName.remove(0));.

2 --> In WeekFragment class go to init() method. Here set midDate to WEDNESDAY like below
if (midDate != null) { midDate = midDate.withDayOfWeek(DateTimeConstants.WEDNESDAY); }

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