Time zone offsets for any time zone, possible change to Date functionality (i18n)
domenic at domenicdenicola.com
Tue Apr 9 11:52:36 PDT 2013
From: Nebojša Ćirić [cira at google.com]
> 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.
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?
More information about the es-discuss