javascript intl.datetimeFormat brasil

new Intl.DateTimeFormat('pt-BR', options)
DevPedrada