File

teal-src/util/datetime.d.tl @ 12267:a52a0680fcd8

prosodyctl: Allow passing server on command line with --server Because why not I guess. This mirrors the corresponding luarocks command
author Kim Alvefur <zash@zash.se>
date Fri, 04 Feb 2022 19:04:32 +0100
parent 11459:86904555bffc
child 12634:8cb6644ce463
line wrap: on
line source

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

return lib