From ced6052d5a96d65d408f98bd59e94e7a42ba0b6c Mon Sep 17 00:00:00 2001 From: Eli <100180307+EliTheGingerCat@users.noreply.github.com> Date: Sun, 25 Aug 2024 16:19:54 -0400 Subject: [PATCH] Add Moonwave comments for DateTime properties. --- types/datetime.luau | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/types/datetime.luau b/types/datetime.luau index 8992dab..04b42aa 100644 --- a/types/datetime.luau +++ b/types/datetime.luau @@ -87,10 +87,19 @@ export type DateTimeValueArguments = DateTimeValues & OptionalMillisecond ]=] export type DateTimeValueReturns = DateTimeValues & Millisecond +--[=[ + @prop unixTimestamp number + @within DateTime + Number of seconds passed since the UNIX epoch. +]=] + +--[=[ + @prop unixTimestampMillis number + @within DateTime + Number of milliseconds passed since the UNIX epoch. +]=] local DateTime = { - --- Number of seconds passed since the UNIX epoch. unixTimestamp = (nil :: any) :: number, - --- Number of milliseconds passed since the UNIX epoch. unixTimestampMillis = (nil :: any) :: number, }