Date object, or ISO string, or timestamp number
Optional
params: JDateFormatParamsoptional params
if date is not a Date object, or ISO string, or timestamp number
// returns in the user's locale language, the time that will pass, or passed from now for the given date
JMap.Util.Date.formatDistanceToNow(new Date())
JMap.Util.Date.formatDistanceToNow
Returns in the user's locale language, the time that will pass, or passed from now for the given date.