mde / timezone-js

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

how do i use this from within node.js? #23

Closed mikeal closed 12 years ago

mikeal commented 12 years ago

there doesn't seem to be a proper node.js entry point. I'd really like to be able to

var timezones = require('timezone-js')
timezones.loadTimezonesSync()
longlho commented 12 years ago

I'll ask Matt to do a publish of the package with the recent fixes. Sry about that.

mde commented 12 years ago

Nice work fixing this. I just pulled master and see one failing test. Can you take a look at that one before I publish?

longlho commented 12 years ago

Do you mind telling me which one cause all the tests passed on my machine with a fresh copy of the repo :-?

mde commented 12 years ago

I just pulled a fresh copy too, still failing on Node v0.6.10:

Failures:

1) should be able to set date without altering others Message: Expected 18 to equal 21. Stacktrace: Error: Expected 18 to equal 21.

longlho commented 12 years ago

Hmm weird. I'll take look this weekend :)

Long Ho Software Engineer Selerity

On Jun 15, 2012, at 5:14 PM, Matthew Eernissereply@reply.github.com wrote:

I just pulled a fresh copy too, still failing on Node v0.6.10:

Failures:

1) should be able to set date without altering others Message: Expected 18 to equal 21. Stacktrace: Error: Expected 18 to equal 21.


Reply to this email directly or view it on GitHub: https://github.com/mde/timezone-js/issues/23#issuecomment-6366769