File

teal-src/util/datetime.d.tl @ 12746:7eabf8d78978

util.roles: Return nil if the role has no explicit policy (fixes inheritance) Previously, if the first inherited role had no opinion, it returned false and prevented further consultation of other inherited roles. This bug was found thanks to the implementation of missing test cases identified through mutation testing.
author Matthew Wild <mwild1@gmail.com>
date Fri, 07 Oct 2022 16:58:08 +0100
parent 12634:8cb6644ce463
line wrap: on
line source

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