User's Rate 0.00 . Total 0 votes

Walltime-js

Walltime-js is a JavaScript library for easily translating a UTC time to a "Wall Time" for a particular time zone.

Dates in JavaScript do not properly account for daylight savings time for regions other than your own browser configured time zone.

For example:

Your API sends UTC times in JSON but you need to display them for Chicago time zone to a user viewing your page in Los Angeles. What was the UTC Time on May 24, 1844 at 9:00 AM in Baltimore, Maryland?

  • Install via NPM

    Use npm:

  • Install via Bower

    Use Bower:

  • Readme

Comments