Setting a date format in ASP.NET web.config globalization tag?

前端 未结 2 874
没有蜡笔的小新
没有蜡笔的小新 2020-12-10 18:15

In our web.config I am using the following tag to determine the interface language of an ASP.NET website.



        
2条回答
  •  有刺的猬
    2020-12-10 19:04

    If you need the format to be the same across cultures, you will have to set the DateTimeFormat whenever you instantiate a CultureInfo object.

    There is no global config option for this.

提交回复
热议问题