DateTime format string error for 't' and 'tt' options
Status: Beta
Brought to you by:
menendezpoo
When applying a format string with the 't' or 'tt' option times such as 12:30PM will yield A or AM.
data["tt"] = (hour > 12 ? DateTime.strings.PM : DateTime.strings.AM) ;
data["t"] = (hour > 12 ? DateTime.strings.P : DateTime.strings.A);
The > should be changed to a >= for correct behavior.