From ac186190e51e8fa9fa29536de28b65aa619a4ea7 Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Sat, 16 Sep 2023 21:45:04 -0500 Subject: [PATCH] Fix doc comment param names --- types/DateTime.luau | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/DateTime.luau b/types/DateTime.luau index d809228..016fd7a 100644 --- a/types/DateTime.luau +++ b/types/DateTime.luau @@ -258,7 +258,7 @@ end - Date units (year, month, day) that produce an invalid date will raise an error. For example, January 32nd or February 29th on a non-leap year. - Non-integer values are rounded down. For example, providing 2.5 hours is equivalent to providing 2 hours, not 2 hours and 30 minutes. - @param dateTime -- Table containing date & time values + @param values -- Table containing date & time values @return DateTime -- The new DateTime object ]=] function dateTime.fromUniversalTime(values: DateTimeValues): DateTime @@ -289,7 +289,7 @@ end - Date units (year, month, day) that produce an invalid date will raise an error. For example, January 32nd or February 29th on a non-leap year. - Non-integer values are rounded down. For example, providing 2.5 hours is equivalent to providing 2 hours, not 2 hours and 30 minutes. - @param dateTime -- Table containing date & time values + @param values -- Table containing date & time values @return DateTime -- The new DateTime object ]=] function dateTime.fromLocalTime(values: DateTimeValues): DateTime