mde / timezone-js

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

toISOString returns incorrect value near (but not during) DST change #175

Closed richardhills closed 4 years ago

richardhills commented 8 years ago

In Pacific Standard Time:

new timezoneJS.Date(1446361200000).toISOString() = "2015-11-01T06:00:00.000Z"

However, it should be "2015-11-01T07:00:00.000Z"

mde commented 4 years ago

This library is no longer maintained, and this repo is here only for historical interest.