Sunday, 15 September 2013

asp.net - Modification of the language dates on a website -


I am currently developing a website with ASP.NET where I need to display dates.

Website hosting is in Windows when I test my website in local (on my personal computer with blue emulator), the dates are displayed in French (and this is what I want). But, when I publish and test on Azer, the dates are displayed in English. It is a recent problem, it was working a few days back.

I have not worked on the dates myself, but some packages have been updated on computers configured in English (by nuget package manager) I do not know that this could have an effect.

You need to set your current culture thread. This is the default for you locally for French, but when it's in blue, then default is N-US

How to set culture, or just an example to override the date format See for


No comments:

Post a Comment