First day of the week bug

6 posts, 0 answers
  1. Alex
    Alex avatar
    2 posts
    Member since:
    Mar 2015

    Posted 23 Jul 2015 Link to this post

    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.

  2. Todor
    Admin
    Todor avatar
    778 posts

    Posted 28 Jul 2015 Link to this post

    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
  3. DevCraft banner
  4. Gilad
    Gilad avatar
    3 posts
    Member since:
    May 2015

    Posted 29 Jul 2015 in reply to Todor Link to this post

    Thanks. We are looking forward to the update. This is obviously a serious issue.

    Is there a date set already for that?

  5. Todor
    Admin
    Todor avatar
    778 posts

    Posted 29 Jul 2015 Link to this post

    Hi Gilad,

    There is no specific date set yet, but it will be around the middle of August.

    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
  6. Kyle
    Kyle avatar
    30 posts
    Member since:
    Dec 2014

    Posted 08 Sep 2015 in reply to Todor Link to this post

    Has this been fixed yet?

     

     

  7. Todor
    Admin
    Todor avatar
    778 posts

    Posted 08 Sep 2015 Link to this post

    Hello Kyle,

    As promised, the fix has been included in the August's release of UI for Xamarin.Android.
    It will be also included in the next official release of UI for Android, scheduled for the end of this month.

    Let us know if you need further assistance.

    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
Back to Top
DevCraft banner