Course lesson
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.
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
Course lesson
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.