export default date => {
  const diff = new Date(date).getTime() - Date.now();
  const days = Math.floor(diff / 86400 / 1000);

  return `${days} days`;
};

export default date => {
  const diff = new Date(date).getTime() - Date.now();
  const days = Math.floor(diff / 86400 / 1000);

  const ending = days > 1 ? 's' : '';

  return days > 0 ? `${days} day${ending}` : `Last day`;
};

Change wording for 0 and 1 day