diegoles / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

DateTime toUsTimeString is grammatically incorrect #607

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?
1.Instantiate a new goog.date.DateTime Object.
2.Call the toUsTimeString method on that object.
3.Observe the result.

What is the expected output? What do you see instead?
The actual result is in the format of:
HH:MMam or HH:MMpm
and the expected output should instead be in the format of:
HH:MM a.m. or HH:MM p.m.

What version of the product are you using? On what operating system?
The issue is present in the latest revision of the the date.js file in the 
closure library (1c507d589747)

Please provide any additional information below.

This time format (a.m. and p.m. instead of am and pm) is accepted as 
grammatically correct.
References:
* http://english.stackexchange.com/questions/22784/am-pm-vs-a-m-p-m-vs-am-pm
* http://en.wikipedia.org/wiki/12-hour_clock

Original issue reported on code.google.com by kfalco...@gmail.com on 15 Nov 2013 at 9:20