Update getTimezoneOffset JSDoc (#58004)

This commit is contained in:
Sébastien Raynaud 2024-04-01 17:56:09 +02:00 committed by GitHub
parent 32dfb3752f
commit e0d9d460a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

2
src/lib/es5.d.ts vendored
View File

@ -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.

View File

@ -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.

View File

@ -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))

View File

@ -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
> : ^^^^^^

View File

@ -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.

2
tests/lib/lib.d.ts vendored
View File

@ -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.