Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

First day of the week bug

$
0
0

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.


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>