mde / timezone-js

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

allow chain - setTimezone #77

Closed armetiz closed 4 years ago

armetiz commented 11 years ago

https://github.com/mde/timezone-js/blob/master/src/date.js#L405

This function (and the other one) should return the current instance to allow method chaining.

Regards,

mde commented 11 years ago

I'm not opposed to this. How about putting together a pull-request? (With a test, of course.)

armetiz commented 11 years ago

Sorry, I have no dedicated time to do this..