On Jan 30, 2013, at 10:29 PM, Xperia <afong.r...@gmail.com> wrote: > If the language is set to Chinese, the following shows 2012/1/31 上11時14分18秒 > > The problem is the character "上" It should be "上午" which represents "AM" > instead of "上".
Please file a bug in bugzilla.xamarin.com. This is a bug in our locale data: $ csharp csharp> using System.Globalization; csharp> foreach (var c in CultureInfo.GetCultures(CultureTypes.AllCultures).Where(_ => !_.IsNeutralCulture).Where(_=>_.Name.StartsWith("z"))) Console.WriteLine ("{0}: {1}", c.Name, DateTime.Now.ToString (c)); zh-TW: 2013/1/31 上11時08分29秒 zh-CN: 13-1-31 上11时08分29秒 zh-HK: 13年1月31日 上11時08分29秒 zh-SG: 31/01/13 上 11:08:29 zh-MO: 13年1月31日 上11時08分29秒 > Is there any way to use the time format provide by Android system (and can > adapt to the user's setting such as "Use 24 Format or not" ?) You could use the Java.Util.Locale and related types: http://androidapi.xamarin.com/?link=T%3aJava.Util.Locale - Jon _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid