mde / timezone-js

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

Made all the set* and get* functions work to the Date spec. #60

Closed vogievetsky closed 11 years ago

vogievetsky commented 11 years ago

Wrote the unit tests to test against http://www.ecma-international.org/ecma-262/5.1 and then changed the functions to follow the spec. Pretty much every set* or get* function was changed in the process. All changes except the ones to get/setYear are backwards compatible to the API that was there before.

This closes this issue: https://github.com/mde/timezone-js/issues/48

longlho commented 11 years ago

Thanks :D :+1:

vogievetsky commented 11 years ago

Wow that was quick! Thank you.

longlho commented 11 years ago

notifications r magic lol

mde commented 11 years ago

Holy shit, this is nice.

vogievetsky commented 11 years ago

Thanks! I am not done though, going to send a couple more PRs soon.