Skip to content

Commit

Permalink
Fix doc comment param names
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptibell committed Sep 17, 2023
1 parent 0cd23ee commit ac18619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/DateTime.luau
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ac18619

Please sign in to comment.