This is a migrated thread and some comments may be shown as answers.

First day of the week bug

1 Answer 23 Views
Calendar - Xamarin.Android
This is a migrated thread and some comments may be shown as answers.
Gilad
Top achievements
Rank 1
Gilad asked on 23 Jul 2015, 04:56 PM
Using Xamarin. I am trying to programmatically change the first day of the week (here to Monday) on the calendar.
    var cal = calendarView.Calendar;
    cal.FirstDayOfWeek = 2;
    calendarView.Calendar = cal;
So the issue is that if the locale defined on the phone has first day of the week as Sunday (en-US for example) then the days title would change correctly but the dates themselves remain as if the first day is still Sunday. 
 It would look something like that (in the broken state)
Mon Tue Wed Thu Fri Sat Sun
19    20   21     22   23  24  25

Could use some help with this issue, am I doing something wrong?
Thanks,
Alex.

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 28 Jul 2015, 11:43 AM
Hello Alex,

Thank you for writing.

Yes, this is the appropriate way to change the first day of the week. However, I have to confirm that currently this is not working as expected, i.e. only the day names' order is updated, but the dates that are displayed below are not reflected by the change. We are going to fix this as soon as possible so you will be able to download the updated version next month.

Regards,
Todor
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Calendar - Xamarin.Android
Asked by
Gilad
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or