Merge pull request #1782 from zeel/patch-1

corrected order for subtraction
This commit is contained in:
Ilya Kantor 2020-03-01 12:58:49 +00:00 committed by GitHub
commit fcfef6a078
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,7 +124,7 @@ Besides the given methods, there are two special ones that do not have a UTC-var
: Returns the timestamp for the date -- a number of milliseconds passed from the January 1st of 1970 UTC+0.
[getTimezoneOffset()](mdn:js/Date/getTimezoneOffset)
: Returns the difference between the local time zone and UTC, in minutes:
: Returns the difference between UTC and the local time zone, in minutes:
```js run
// if you are in timezone UTC-1, outputs 60