util.datetime: Update Teal interface description

Integers were required before, now any number should work.
This commit is contained in:
Kim Alvefur 2022-08-17 18:41:35 +02:00
parent 68867c09d6
commit cbff90a7ac

View file

@ -1,11 +1,9 @@
-- TODO s/number/integer/ once Teal gets support for that
local record lib
date : function (t : integer) : string
datetime : function (t : integer) : string
time : function (t : integer) : string
legacy : function (t : integer) : string
parse : function (t : string) : integer
date : function (t : number) : string
datetime : function (t : number) : string
time : function (t : number) : string
legacy : function (t : number) : string
parse : function (t : string) : number
end
return lib