mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 21:10:36 +00:00
7 lines
190 B
Lua
7 lines
190 B
Lua
local DateTime = require("@lune/datetime")
|
|
|
|
local TYPE = "DateTime"
|
|
|
|
local now = DateTime.now()
|
|
|
|
assert(typeof(now) == TYPE, `dateTime.now() should return a {TYPE}, returned {typeof(now)}`)
|