2023-09-16 05:24:05 +01:00
|
|
|
local DateTime = require("@lune/datetime")
|
2023-09-11 18:52:07 +01:00
|
|
|
|
|
|
|
local TYPE = "DateTime"
|
|
|
|
|
2023-09-16 05:24:05 +01:00
|
|
|
local now = DateTime.now()
|
|
|
|
|
|
|
|
assert(typeof(now) == TYPE, `dateTime.now() should return a {TYPE}, returned {typeof(now)}`)
|