Last active
April 23, 2020 12:27
-
-
Save lucasbastianik/dbf5f658c33f537ffbfc55f56c4fd140 to your computer and use it in GitHub Desktop.
ECMAScript i18n API - Date Format without Timezone
This file contains hidden or 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
return new Intl.DateTimeFormat("pt-BR", { | |
timeZone: "UTC", | |
}).format(new Date("2020-01-01")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment