teal-src/util/datetime.d.tl
author Kim Alvefur <zash@zash.se>
Sun, 27 Aug 2023 15:46:19 +0200
branch0.12
changeset 13258 a2ba3f06dcf4
parent 11463 86904555bffc
child 12638 8cb6644ce463
permissions -rw-r--r--
util.prosodyctl.check: Correct modern replacement for 'disallow_s2s' The code would have suggested adding to modules_enabled instead of modules_disabled

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