Skip to content

Commit

Permalink
Update getTimezoneOffset JSDoc (#58004)
Browse files Browse the repository at this point in the history
  • Loading branch information
raynauds authored Apr 1, 2024
1 parent 32dfb37 commit e0d9d46
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/lib/es5.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ interface Date {
getMilliseconds(): number;
/** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */
getUTCMilliseconds(): number;
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
getTimezoneOffset(): number;
/**
* Sets the date and time value in the Date object.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/1.0lib-noErrors.js
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ interface Date {
getMilliseconds(): number;
/** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */
getUTCMilliseconds(): number;
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
getTimezoneOffset(): number;
/**
* Sets the date and time value in the Date object.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/1.0lib-noErrors.symbols
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ interface Date {
getUTCMilliseconds(): number;
>getUTCMilliseconds : Symbol(Date.getUTCMilliseconds, Decl(1.0lib-noErrors.ts, 659, 30))

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

Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/1.0lib-noErrors.types
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@ interface Date {
>getUTCMilliseconds : () => number
> : ^^^^^^

/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
getTimezoneOffset(): number;
>getTimezoneOffset : () => number
> : ^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/conformance/decorators/1.0lib-noErrors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ interface Date {
getMilliseconds(): number;
/** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */
getUTCMilliseconds(): number;
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
getTimezoneOffset(): number;
/**
* Sets the date and time value in the Date object.
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/lib.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ interface Date {
getMilliseconds(): number;
/** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */
getUTCMilliseconds(): number;
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
getTimezoneOffset(): number;
/**
* Sets the date and time value in the Date object.
Expand Down

0 comments on commit e0d9d46

Please sign in to comment.