Skip to content

Commit e0d9d46

Browse files
authored
Update getTimezoneOffset JSDoc (#58004)
1 parent 32dfb37 commit e0d9d46

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/lib/es5.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ interface Date {
800800
getMilliseconds(): number;
801801
/** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */
802802
getUTCMilliseconds(): number;
803-
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
803+
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
804804
getTimezoneOffset(): number;
805805
/**
806806
* Sets the date and time value in the Date object.

tests/baselines/reference/1.0lib-noErrors.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ interface Date {
663663
getMilliseconds(): number;
664664
/** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */
665665
getUTCMilliseconds(): number;
666-
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
666+
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
667667
getTimezoneOffset(): number;
668668
/**
669669
* Sets the date and time value in the Date object.

tests/baselines/reference/1.0lib-noErrors.symbols

+1-1
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ interface Date {
10351035
getUTCMilliseconds(): number;
10361036
>getUTCMilliseconds : Symbol(Date.getUTCMilliseconds, Decl(1.0lib-noErrors.ts, 659, 30))
10371037

1038-
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
1038+
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
10391039
getTimezoneOffset(): number;
10401040
>getTimezoneOffset : Symbol(Date.getTimezoneOffset, Decl(1.0lib-noErrors.ts, 661, 33))
10411041

tests/baselines/reference/1.0lib-noErrors.types

+1-1
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ interface Date {
12121212
>getUTCMilliseconds : () => number
12131213
> : ^^^^^^
12141214

1215-
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
1215+
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
12161216
getTimezoneOffset(): number;
12171217
>getTimezoneOffset : () => number
12181218
> : ^^^^^^

tests/cases/conformance/decorators/1.0lib-noErrors.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ interface Date {
661661
getMilliseconds(): number;
662662
/** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */
663663
getUTCMilliseconds(): number;
664-
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
664+
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
665665
getTimezoneOffset(): number;
666666
/**
667667
* Sets the date and time value in the Date object.

tests/lib/lib.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ interface Date {
695695
getMilliseconds(): number;
696696
/** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */
697697
getUTCMilliseconds(): number;
698-
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
698+
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
699699
getTimezoneOffset(): number;
700700
/**
701701
* Sets the date and time value in the Date object.

0 commit comments

Comments
 (0)