diff options
author | Kim Alvefur <zash@zash.se> | 2021-03-18 23:16:41 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-03-18 23:16:41 +0100 |
commit | d18097fb6700ede8bdb47388e51e0850d0d828f6 (patch) | |
tree | 8f63224754b87b595412c35fd88013bc299ec11f /teal-src/util/datetime.d.tl | |
parent | 576b43151c407e03525623a143024bda8926e640 (diff) | |
download | prosody-d18097fb6700ede8bdb47388e51e0850d0d828f6.tar.gz prosody-d18097fb6700ede8bdb47388e51e0850d0d828f6.zip |
teal: Use new integer support in Teal 0.13.0
Diffstat (limited to 'teal-src/util/datetime.d.tl')
-rw-r--r-- | teal-src/util/datetime.d.tl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/teal-src/util/datetime.d.tl b/teal-src/util/datetime.d.tl index 530b4eb7..971e8f9c 100644 --- a/teal-src/util/datetime.d.tl +++ b/teal-src/util/datetime.d.tl @@ -1,11 +1,11 @@ -- TODO s/number/integer/ once Teal gets support for that local record lib - 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 + 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 end return lib |