weimingtom / minijoe

Automatically exported from code.google.com/p/minijoe
1 stars 0 forks source link

date.toLocaleDateString does not work #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The method date.toLocaleDateString returns the time portion of the date
instead of the date portion. The bug is in the prototype declaration in
JsDate.java. That method should reference ID_TO_LOCALE_DATE_STRING instead
of ID_TO_TIME_STRING. Also, date.toLocaleTimeString should probably
reference ID_TO_LOCALE_TIME_STRING instead of ID_TO_TIME_STRING.

Original issue reported on code.google.com by tbishop...@gmail.com on 9 Jun 2009 at 4:01