Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug DateTime.Now.ToString formatting bug on Mac
0 replies. Latest Post by MarkTap on September 26, 2007.
(0)
MarkTap
Participant
1442 points
263 Posts
09-26-2007 8:16 PM |
This code:
string time = DateTime.Now.ToString("h:mm t");
Yields a trailing "P" on Windows/IE7 and a trailing "PM" on Mac/Safari.
This is the September 2007 1.1 Alpha refresh
I think the Windows implementation is correct - "t" should only yield the first letter.