This is only the tip of the iceberg: Intl API also includes number formatting (read currencies) and plural rules. The latter is not as well support though, beware!

For those who wonder: IE11+, Safari 10+ (10.2 for iOS) and everywhere else for a long time (no UC nor QQ though).

The same date in Korean:

Intl.DateTimeFormat('ko-KR', {weekday:'long', year: 'numeric', month: 'long' }).format( ());

=> 2018년 6월 25일 월요일

Getting localized dates in JavaScript is so easy with the Internationalization API:

Intl.DateTimeFormat('fr-FR', {weekday:'long', year: 'numeric', month: 'long' }).format( ());

=> Lundi 25 juin 2018

I did well but not well enough. Anyway, I love this game!

Read this today ( and thought I will give @Gargron's Mastodon another try :-)


Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!