1. 1
    Displaying Language Sensitive Dates With Javascript Intl API
    2m 49s

Displaying Language Sensitive Dates With Javascript Intl API

Share this video with your friends

Send Tweet

When working in an application that will be used or consumed by users all over the world, is important to display the data in a way that makes sense for them.

Som data can be simple to change based on their language, like translating text, but what happens with other pieces of information?

Dates can be a complex subject. Manually formatting dates based on the language can be bug-prone. Lucky for us, Javascript exposes an API that handles this: Intl.DateTimeFormat