mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 04:50:36 +00:00
Fix indentation in datetime typedefs
This commit is contained in:
parent
5a6a8a0931
commit
278057dddf
1 changed files with 4 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue