Why doesn't Chrome specify AM or PM when displaying a date by using date.toLocaleString()
? The string I get is Fri Jun 25 2010 11:21:09 GMT+1000
. While IE returns almost the same string but with AM
after the time.
Is there any method on the Date
object I can call to check whether it's AM
or PM
and, more importantly, check whether user's locale is using 12-hour cycles or 24-hours?
Update. Found this bug http://code.google.com/p/v8/issues/detail?id=135. It is very old, I was hoping there would be updates on it.