From: Nebojša Ćirić [[email protected]]
> Since we (i18n) already have timezone data for date formatting, we could do
> what we did for Date.prototype.toLocaleDateString and extend say
> Date.prototype.getTimezoneOffset method to support timezone parameter.
This sounds amazing. Please do this.
To clarify,
```js
var tzo = dateObj.getTimezoneOffset("America/New_York")
```
would give the minutes offset of the America/New_York timezone, from UTC, at
the point in time designated by `dateObj`. Right?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss