code: function timeSince(date) {
  		const seconds = Math.floor((new Date().getTime() / 1000) - (date / 1000));
  		let interval = Math.floor(seconds / 31536000);
  
  		if (interval > 1) {
  			return interval + ' year';
  		}
  
  		interval = Math.floor(seconds / 2592000);
  		if (interval > 1) {
  			return interval + ' month';
  		}
  
  		interval = Math.floor(seconds / 86400);
  		if (interval >= 1) {
  			return interval + ' day';
  		}
  
  		interval = Math.floor(seconds / 3600);
  		if (interval >= 1) {
  			return interval + ' hour';
  		}
  
  		interval = Math.floor(seconds / 60);
  		if (interval > 1) {
  			return interval + ' min';
  		}
  
  		return Math.floor(seconds) + ' sec';
  	}
docs: /* istanbul ignore next: not really easy or that important to test