moment.tz("2012-11-04 01:00:00-05:00", "America/New_York");
anyone know how do we get the different offsets and different TZ's for that region? for example: for "America/Chicago" I need CDT
and CST
along with their offsets so that I can get the appropriate dates based on user selection
moment.tz.zone("America/Chicago")
) and get the unique offsets and unique abbrs. Is there an easier way? Still cant find a way to find if time provided is ambiguous or not
npm install moment moment-timezone
, and they are available, but moment("2015-01-01T00:00:00 America/New_York")
returns null whereas moment("2015-01-01T00:00:00-05:00")
works