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