From cbff90a7ac5236a86accefdfd501147a1b5007fc Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 17 Aug 2022 18:41:35 +0200 Subject: util.datetime: Update Teal interface description Integers were required before, now any number should work. --- teal-src/util/datetime.d.tl | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'teal-src/util') diff --git a/teal-src/util/datetime.d.tl b/teal-src/util/datetime.d.tl index 971e8f9c..9f770a73 100644 --- a/teal-src/util/datetime.d.tl +++ b/teal-src/util/datetime.d.tl @@ -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 -- cgit v1.2.3