Skip to content

Commit fcfef6a

Browse files
authored
Merge pull request #1782 from zeel/patch-1
corrected order for subtraction
2 parents 4a15b96 + 4325537 commit fcfef6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 1-js/05-data-types/11-date/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Besides the given methods, there are two special ones that do not have a UTC-var
124124
: Returns the timestamp for the date -- a number of milliseconds passed from the January 1st of 1970 UTC+0.
125125

126126
[getTimezoneOffset()](mdn:js/Date/getTimezoneOffset)
127-
: Returns the difference between the local time zone and UTC, in minutes:
127+
: Returns the difference between UTC and the local time zone, in minutes:
128128

129129
```js run
130130
// if you are in timezone UTC-1, outputs 60

0 commit comments

Comments
 (0)