Open a watch window
new DateTime(2010,01,01).ToString("h")
Gives:
new DateTime(2010,01,01).ToString("h")threw an exception of typeSystem.FormatException
Yet...
new DateTime(2010,01,01).ToString("h ")
Gives: "12 "
So why does an extra space stop this format exception from happening? Is this a bug?