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
Constructing date in javascript is insane:
To get the wanted date: month should be added -1, and local timezone should be substracted.
we are at UTC+01:00 now.
(new Date(2011,11,31)).toISOString()
"2011-12-30T23:00:00.000Z"
new Date((new Date(2011,12,31)) - (new Date()).getTimezoneOffset()*1000*60).toISOString()
"2012-01-31T00:00:00.000Z"
Constructing date in javascript is insane:
To get the wanted date: month should be added -1, and local timezone should be substracted.
we are at UTC+01:00 now.
fb-util should be fixed:
The text was updated successfully, but these errors were encountered: