mirror of
https://github.com/lune-org/lune.git
synced 2025-05-04 10:43:57 +01:00
chore(tests): use fromIsoDate in toUniversalTime test
This commit is contained in:
parent
6ddaecb0ba
commit
37c8a6f9ce
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
local DateTime = require("@lune/DateTime")
|
local DateTime = require("@lune/DateTime")
|
||||||
|
|
||||||
local dateTime = DateTime.fromUnixTimestamp(1693115659):toLocalTime()
|
local dateTime = (DateTime.fromIsoDate("2023-08-27T05:54:19Z") :: DateTime.DateTime):toLocalTime()
|
||||||
|
|
||||||
local expectedDateTimeValues = os.date("*t", 1693115659)
|
local expectedDateTimeValues = os.date("*t", 1693115659)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue