mde / timezone-js

DEPRECATED: Timezone-enabled JavaScript Date object. Uses Olson zoneinfo files for timezone data.
824 stars 182 forks source link

UTC Bug fix #2

Closed ryonlife closed 13 years ago

ryonlife commented 13 years ago

Bug fix: When initializing a timezoneJS.Date with timezone 'Etc/UTC' and then changing the timezone with timezoneJS.Date.setTimezone(), the timezone offset for the new timezone would be ignored, effectively leaving it to remain at 0."

ryonlife commented 13 years ago

I put this bug fix into the Uber/timezone-js fork and sent the pull request from there, among other commits. Thanks.