File

teal-src/util/datetime.d.tl @ 11443:a526abef61e6

util.jsonschema: Implement the "prefixItems" keyword This may have been what got me confused about "items" being an array.
author Kim Alvefur <zash@zash.se>
date Tue, 09 Mar 2021 02:36:08 +0100
parent 11432:113f3912c7cb
child 11459:86904555bffc
line wrap: on
line source

-- 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
end

return lib