Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created Aug 4, 2021
Embed
What would you like to do?
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