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
CSTalong 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 America/New_York"). I just tested
moment.tz("2015-01-01T00:00:00", "America/New_York")and that works fine.
I'm stuck on a problem and would really appreciate some help.
I'm trying to use moment-timezone to schedule an event based on the users time zone. ie, User lives in Denver and should receive a push notification at a given time, regardless of the servers time. I have the users time zone and their chosen delivery time/date. No matter what I do, I can't get it to work. I know I'm missing something small, but this is killin' me lol