I live in Taiwan and I found this time format issue.
DateTime.Now.ToString()

If the language is set to English, the following shows
31/01/2013 11:14:18

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 "上".
My guess is that in Chinese, each character takes 2 bytes, and the method
provide by Mono can't handle it well.

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" ?)

Actually, I prefer DateTime.Now.ToShortTimeString()
I want to display a time format equals to that shows in notification in
order to make my custom  notification layouts looks much like the Android
system provides.



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/DateTime-Now-tp5712811.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to