Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 27, 2023 17:37
Show Gist options
  • Save parzibyte/2083635e2980072f3d5b8ad50385ec6c to your computer and use it in GitHub Desktop.
Save parzibyte/2083635e2980072f3d5b8ad50385ec6c to your computer and use it in GitHub Desktop.
formateadorFechasRelativas.format(-7,'day')
//'hace 7 días'
formateadorFechasRelativas.format(-7,'hour')
//'hace 7 horas'
formateadorFechasRelativas.format(50,'minute')
//'dentro de 50 minutos'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment