none
Showing wrong CalendarWeekRule for en-GB.

    Question

  • Hi,

    I am facing issue while obtaining CalendarWeekRule for en-GB. In one PC it is showing CalendarWeekRule as  FirstFourDayWeek which is correct. While in another PC it is showing CalendarWeekRule as FirstDay. Why is it so? How can I change CalendarWeekRule for a particular PC's UK culture.

    Below is my registry entry

    

    I changed it to 0.

    After that when i use 

    System.Globalization.CultureInfo currentCulture = System.Globalization.CultureInfo.GetCultureInfo("en-GB")

    It gives me value 2 (old value)

    But

    System.Globalization.CultureInfo currentCulture = new  System.Globalization.CultureInfo("en-GB") gives me new value which is 0.

    How I can get new value using System.Globalization.CultureInfo.GetCultureInfo("en-GB")

    Friday, April 1, 2016 5:25 AM

Answers