lion-of-conquest/chattr — pull request #26 by paulld (2014-07-03 15:48:37+00:00)
Title: Show time from now for messages, and exact date & time on mouseover.

NB: improvement required: mouseover event is observed on the
but strangely it works on the whole
except on the date itself.

NB: instead of the mouseover event, we could use the calendar() option of moment.js, which shows "Today/Yesterday/last Monday at 2:30 AM" for the past 2 weeks, but for earlier date it only shows the date without the time: "7/06/2014". This would then have to be customised:
time: -> moment(@createdAt).calendar()