Globally overrride MonthNames for all instances of a specific culture

Posted by Pauli Østerø on Stack Overflow See other posts from Stack Overflow or by Pauli Østerø
Published on 2010-12-17T19:31:15Z Indexed on 2010/12/21 18:54 UTC
Read the original article Hit count: 169

Filed under:
|

So, i have this problem where Microsoft actually got the month names wrong for the Greenlandic culture (kl-GL). I also know that i can pass my own array of string to the DateTimeFormatInfo.MonthNames Property, but it seems like the values i specify is only used in the scope of that one CultureInfo instance. Is there a way to tell .Net that every time i have an instance of the kl-GL culture these specific monthnames should be used?

I know that you can create user specific cultures, but i don't have access to some legacy code to actually change the code to use a my own userspecified culture.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about cultureinfo