-
-
Save parzibyte/57878fcb5230d429d2a7a2b44124c3be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const formateador = new Intl.DateTimeFormat('es-MX', { dateStyle: 'medium', timeStyle: 'medium' }); | |
const formatearFecha = fecha => formateador.format(fecha); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment