Description
openedon Apr 14, 2023
Description
When I use DateTime.Now.ToString("MMMM yyyy");
and I display result on page, it shows me month in my domestic language despite I have computer in english. Whole application is working good and is showing text resources in english and only this is in my domestic language (slovak).
The language for this is taken probably from region and not from windows language. Which is not expected behavior. This makes inconsistency in application when some text is in windows language and this is by region. Date formats are not problem to be in slovak format but whole month names should be in computer language.
Steps to Reproduce
Start reproduction app, change region on your computer and let computer language in something else. Then you should be able to see it.
Link to public reproduction project repository
https://github.com/dzuris/BugMonthNameMaui.git
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows, I was not able test on other platforms
Affected platform versions
Windows 11
Did you find any workaround?
Change region in settings
Relevant log output
No response