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
The time zone setting of the machine the code is running on
new Date().getTimeZoneOffset() prints -60
The time and date at which the code was run
14:15:22 22.Feb.2019
Other libraries in use (TypeScript, Immutable.js, etc)
Typescript - Angular - Karma
Please run the following code in your environment and include the output:
Fri Feb 22 2019 14:15:22 GMT+0100 (Central European Standard Time)
VM1515:2 2/22/2019, 2:15:22 PM
VM1515:3 -60
VM1515:4 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3679.0 Safari/537.36
2.24.0
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
fromNow()
prints 23 hours and 30 minutes as one dayTo Reproduce
Steps to reproduce the behavior:
prints
a day ago
Expected behavior
should print
23 hours ago
Desktop:
Moment-specific environment
new Date().getTimeZoneOffset() prints -60
14:15:22 22.Feb.2019
Typescript - Angular - Karma
Please run the following code in your environment and include the output:
The text was updated successfully, but these errors were encountered: