TooTallNate / node-time

"time.h" bindings for Node.js
MIT License
382 stars 84 forks source link

Save your time, use Moment instead #114

Open adamasantares opened 5 years ago

adamasantares commented 5 years ago

IMHO, I got building problems every time I had nodejs update. I've replaced "time" to "moment" and now I have no problems...

https://www.npmjs.com/package/moment

ghost commented 4 years ago

Expanding on @adamasantares suggestion - If you need timezone support too, I've found good success using Luxon.

If you need locale support, the Luxon docs outline how to do this.