Skip to content

Commit

Permalink
Fix indentation in datetime typedefs
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptibell committed Sep 17, 2023
1 parent 5a6a8a0 commit 278057d
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions types/DateTime.luau
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 278057d

Please sign in to comment.