You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pacificTimeOffset and isDaylightTime now only accept a single optional argument, which must be a Date instance (a Date instance is no longer constructed for you with the input arguments). If you pass nothing, the current Date is still used.
The offsets returned are now -480 and -420, deviating from the return value of JavaScript’s getTimezoneOffset() method. This matches how Moment and Luxon return the offset, which is from UTC not to UTC like the Date method, and makes more sense.