javascript - using moment js to pass in time zone and get hours offset? -
i want pass three-digit time zone string "gmt" or "est" , offset "-05:00" string it.
moment seems handle couldn't find way...
this capability asking has been deprecated. tim wood in this thread says:
the problem date.prototype.tostring returns such different results. place timezone name (pst, cst, est, etc). if method not returning timezone information (as case ff10 , ie9, there no way it.
in same thread there mentions people how able abbreviated time zone , consequently pass moment in browsers.
Comments
Post a Comment