--[[
	Returns the amount of centiseconds as human readable with specified format. The format contains "$" preceding a time division to be readable by the formatter. 
	For example, getFromCentiseconds(20000, "$minutesm $secondss") returns "3m 20s"
]]

function ReadableTime.getFromCentiseconds(centiseconds, format)
	local divisions = getTimeDivisions(centiseconds)

	return getTimeString(divisions, format)
end

return ReadableTime
