Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Azure having troubles with date format

Tags:

azure

I'm having a lot of trouble deploying a website on windows azure... with dates and money formats, for example. My question is: It is possible to change the server's culture, or do I have to change my entire app to fits the azure location settings?

Works fine on servers with Latin American standards.

like image 649
Paulo Mendonça Avatar asked Mar 22 '13 20:03

Paulo Mendonça


People also ask

How do I change the date format on Azure DevOps?

In Azure DevOps, the format of the work item time/date will depend on the language in your browser. To change the Work item time format, you need to change the language in your Browser. For example: Chrome Settings -> Advanced -> Languages -> Set the preference language.


2 Answers

You can add something like this to your web.config (in the system.web section):

<globalization uiCulture="en" culture="en-GB" />

You can find the appropriate identifier in the CultureInfo Class.

like image 77
QFDev Avatar answered Oct 21 '22 03:10

QFDev


I believe you'll need to change the culture settings in your application. Here's a similar thread - Currency settings in Azure

like image 40
mcollier Avatar answered Oct 21 '22 03:10

mcollier