formatRelativeTime
Formats the given date as a relative time string. A normal implementation of this method would return a string like "Just now", "5 minutes ago", ... It is used to format the time when a message was edited in the message list.
Return
The formatted relative time string.
Parameters
date
The Date to format as a relative time string.