1
Vote

StartingDayOfWeek has no initial value

description

StartingDayOfWeek does not initializing, it always has value Sunday unless it was not setted in XAML or code.
This is quite wrong! It must have initial value according to current regional settings, something like that:
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();
            StartingDayOfWeek = System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek;
...
        }

comments

SergeyBarskiy wrote Oct 23, 2013 at 2:32 AM

I cannot fix this without possibility of breaking apps.