bundles/org.eclipse.orion.client.ui/web/orion/uiUtils.js
function displayableTimeElapsed(timeStamp) {
		var duration = timeElapsed(timeStamp);
		if(duration) {
			return i18nUtil.formatMessage(messages["timeAgo"], duration);
		}
		return messages["justNow"];
	}
function displayableTimeElapsed(timeStamp) {
		var duration = timeElapsed(timeStamp);
		if(duration) {
			return i18nUtil.formatMessage(messages["timeAgo"], duration);
		}
		return messages["justNow"];
	}
function displayableTimeElapsed ( timeStamp ) { var duration = timeElapsed ( timeStamp ) ; if ( duration ) { return i18nUtil . formatMessage ( messages [ "timeAgo" ] , duration ) ; } return messages [ "justNow" ] ; }
Returns the displayable time duration passed by now. E.g. "just now", "2 minutes ago", "an hour ago", "a day ago", "3 months ago", "2 years ago"
@param {String} timeStamp
@returns {String} If the duration is less than 1 minute, it returns empty string "just now". Otherwise it returns a duration value.
Returns the displayable time duration passed by now . E . g . just now 2 minutes ago an hour ago a day ago 3 months ago 2 years ago