code: function convertToDate(input)
  {
  	if (input.constructor === Date) {
  		return input
  	}
  
  	if (typeof input === 'number') {
  		return new Date(input)
  	}
  
  	throw new Error(`Unsupported react-time-ago input: ${typeof input}, ${input}`)
  }
docs: Converts argument into a `Date`.