Comparison

teal-src/util/datetime.d.tl @ 11459:86904555bffc

teal: Use new integer support in Teal 0.13.0
author Kim Alvefur <zash@zash.se>
date Thu, 18 Mar 2021 23:16:41 +0100
parent 11432:113f3912c7cb
child 12634:8cb6644ce463
comparison
equal deleted inserted replaced
11458:0e00fa518688 11459:86904555bffc
1 -- TODO s/number/integer/ once Teal gets support for that 1 -- TODO s/number/integer/ once Teal gets support for that
2 2
3 local record lib 3 local record lib
4 date : function (t : number) : string 4 date : function (t : integer) : string
5 datetime : function (t : number) : string 5 datetime : function (t : integer) : string
6 time : function (t : number) : string 6 time : function (t : integer) : string
7 legacy : function (t : number) : string 7 legacy : function (t : integer) : string
8 parse : function (t : string) : number 8 parse : function (t : string) : integer
9 end 9 end
10 10
11 return lib 11 return lib