阅读背景:

AM / PM未显示在.NET 2.0网站的DateTimes上。 AMDesignator / PMDesignator定期设置为空

来源:互联网 

I have a .NET 2.0 website that is periodically losing the value for the DateTimeFormatInfo.CurrentInfo.AMDesignator (or PMDesignator) property. This causes code such as Now.ToString() or even Now.ToString("dd/MM/yyyy hh:mm tt") to not properly display the AM/PM designation which then causes date validation to fail. This issue happens sporadically with no sign of when it's about to happen. I have a .NET 2.0 website that is periodically




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: