timestamp.js is used to display ' xx minutes ago' instead of the timestamp
if an action in the actionlist on the organisation's landing page
happened less then an hour ago (it uses an external library,
timeago.js). Because the text differs in each language we need to get
the current language, which we can read from the html tag. The
translation comes from timeago.js.
timestamp.js is used to display ' xx minutes ago' instead of the timestamp if an action in the actionlist on the organisation's landing page happened less then an hour ago (it uses an external library, timeago.js). Because the text differs in each language we need to get the current language, which we can read from the html tag. The translation comes from timeago.js.