Windows Azure的具有日期格式的烦恼 [英] Windows Azure having troubles with date format
本文介绍了Windows Azure的具有日期格式的烦恼的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有很多的麻烦部署在Windows Azure上的网站...的日期和货币格式,例如。我的问题是:它可以更改服务器的文化,还是我必须改变我的整个应用程序,以符合蔚蓝的位置设置
I'm having a lot of troubles deploying an 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.
推荐答案
您可以添加这样的事情,以你的web.config(在system.web节):
You can add something like this to your web.config (in the system.web section):
<globalization uiCulture="en" culture="en-GB" />
您可以找到的 CultureInfo类。
这篇关于Windows Azure的具有日期格式的烦恼的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文