weimingtom / minijoe

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

date.getTimezoneOffset should return value in minutes and not milliseconds #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The method date.getTimezoneOffset returns a value in milliseconds from the
call TimeZone.getDefault().getOffset(). That value should be converted to
minutes, which is the expected unit in the JavaScript API. The problem is
in the JsDate.evalNative() method, case ID_GET_TIMEZONE_OFFSET.

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