diff --git a/types/DateTime.luau b/types/DateTime.luau index 4b6092f8..b4cd66f4 100644 --- a/types/DateTime.luau +++ b/types/DateTime.luau @@ -255,10 +255,8 @@ end This constructor is fallible and may throw an error in the following situations: - - 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. + - 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 @return DateTime -- The new DateTime object @@ -288,10 +286,8 @@ end This constructor is fallible and may throw an error in the following situations: - - 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. + - 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 @return DateTime -- The new DateTime object