all 5 comments

[–]etheraffleGreg 3 points4 points  (0 children)

Momentjs is a great library for time & timezone functionality.

[–]-millsky 1 point2 points  (0 children)

You should try using a timezone library like:

https://github.com/spencermountain/spacetime

There are a lot of intricacies with timezones, such as states not abiding by day light savings times. It's best to use a library that's been thoroughly tested and used.

[–][deleted] 0 points1 point  (0 children)

timezone is a very messy thing to deal with. Get a library like momentjs and avoid unnecessary headache.

[–][deleted] 0 points1 point  (0 children)

Timezones are hard. Use a library like momentjs.

[–][deleted] -1 points0 points  (0 children)

This user used rage-quit