I've prepared a small WPF app:
View:
and the View-Model looks as following:
And now, for some reason there are spaces between the Day, Month and year for the Slovenian culture:
I mean that intead of getting 14.01.2019, I get 14. 01. 2019.
I've prepared a small WPF app:
View:
and the View-Model looks as following:
And now, for some reason there are spaces between the Day, Month and year for the Slovenian culture:
I mean that intead of getting 14.01.2019, I get 14. 01. 2019.
This is correct behavior according to Unicode CLDR. The easiest way of exploring the data is via the GitHub repository of JSON format files. The generic dates file for "sl" (there's no specific sl-SI directory) contains this section:
"dateFormats": {
"full": "EEEE, dd. MMMM y G",
"long": "dd. MMMM y G",
"medium": "d. MMM y G",
"short": "d. MM. yy GGGGG"
}
So that looks like .NET is doing the right thing.
According to wiki Date format by country
d. mm. yyyy
or dd. mmmm yyyy
However ,i note the citation is actually a Microsoft page (the citation doesn't work atm)
So for it being a bug, i doubt it. As for being what most people there use (well it might depend who you ask)