I need library that can convert time zone to utc offset. I have list of Americans cities, and I know their zones (PST, EST ....) and locations. So my strategy can be
- library.getOffset('city location')
- myLibraryOrOtherLibrary.getOffset('EST')
I know about library moment.js .But library doesn't support all Americans cities for something like below
moment().tz("America/Los_Angeles").format();
Should I implement something myself or there is some other library or I can use moment.js in some other way?