Fork me on GitHub

中国标准时间 导致 TimeZoneNotFoundException

在Windows XP上 System.TimeZoneNotFoundException: The time zone ID '中国标准时间' was not found on the local computer.
   在 System.TimeZoneInfo.GetTimeZone(String id)
   在 System.TimeZoneInfo.FindSystemTimeZoneById(String id)

这估计是一个Bug,把所有注册表中的“中国标准时间 ”全部替换成 "China Standard Time",也就是源代码要替换的函数实现的功能啦。

posted @ 2009-01-09 11:44  张善友  阅读(2973)  评论(0编辑  收藏  举报