User-959394753 posted
Hi,
I am developing a app that is making intensive use of Datetime calculations. On my development machine I have my Regional setting on Dutch.
I am hosting my app on a server in the UK. Now when I set in razor a HTML data field with a Datetime value like this:
data-datum=@Model.LinesList[i].DayList[ii].Datum.ToString("yyyy-MM-dd")
On my development machine it renders with "-" between the year, Month and Day component. but on the UK server a "/" is appearing.
Since I am using this Date in Jquery selections, things go very wrong.
Is there a way to force the production server to use the Dutch formatting? Or is there an other trick to make this working?