Skip to content

Commit 408b176

Browse files
MartinJohnsRyanCavanaugh
authored andcommitted
doc(lib/es5): Fix grammar in DateConstructor.UTC documentation (#34509)
This fixes #34507.
1 parent aaadb17 commit 408b176

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/lib/es5.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -873,12 +873,12 @@ interface DateConstructor {
873873
/**
874874
* Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.
875875
* @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.
876-
* @param month The month as an number between 0 and 11 (January to December).
877-
* @param date The date as an number between 1 and 31.
878-
* @param hours Must be supplied if minutes is supplied. An number from 0 to 23 (midnight to 11pm) that specifies the hour.
879-
* @param minutes Must be supplied if seconds is supplied. An number from 0 to 59 that specifies the minutes.
880-
* @param seconds Must be supplied if milliseconds is supplied. An number from 0 to 59 that specifies the seconds.
881-
* @param ms An number from 0 to 999 that specifies the milliseconds.
876+
* @param month The month as a number between 0 and 11 (January to December).
877+
* @param date The date as a number between 1 and 31.
878+
* @param hours Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.
879+
* @param minutes Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.
880+
* @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.
881+
* @param ms A number from 0 to 999 that specifies the milliseconds.
882882
*/
883883
UTC(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;
884884
now(): number;

0 commit comments

Comments
 (0)