mirror of
https://github.com/lune-org/lune.git
synced 2025-05-04 10:43:57 +01:00
refactor: object declaration syntax in test
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
This commit is contained in:
parent
2b46958007
commit
0561b8eea7
1 changed files with 7 additions and 7 deletions
|
@ -76,13 +76,13 @@ export type DateTime = {
|
||||||
|
|
||||||
-- Returns a specific moment in time as a DateTime instance
|
-- Returns a specific moment in time as a DateTime instance
|
||||||
DateTime.fromLocalTime({
|
DateTime.fromLocalTime({
|
||||||
["year"] = 2023,
|
year = 2023,
|
||||||
["month"] = "aug",
|
month = "aug",
|
||||||
["day"] = 26,
|
day = 26,
|
||||||
["hour"] = 16,
|
hour = 16,
|
||||||
["minute"] = 56,
|
minute = 56,
|
||||||
["second"] = 28,
|
second = 28,
|
||||||
["millisecond"] = 892,
|
millisecond = 892,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Returns the current local time as a DateTime instance
|
-- Returns the current local time as a DateTime instance
|
||||||
|
|
Loading…
Add table
Reference in a new issue