Sign in
Log inSign up
Tapas Adhikary

44 likes

·

4.0K reads

5 comments

Lakshya Thakur
Lakshya Thakur
Sep 21, 2023

I have had some past encounters with the Date API in past when doing some calendar stuff and it can get messy. Even though now unmaintained, I have found moment still being a quick and easy way to get the desired formatted date with relative and locale data being consistent. Do you have any recommendations for new Date libraries that you have encountered or do you think JavaScript Internationalization API standard itself would be enough going forward to use instead of other libraries when used in production apps ?

10
·
·1 reply
Tapas Adhikary
Tapas Adhikary
Author
·Sep 21, 2023

Hey Lakshya Thakur, yes! The JavaScript Internationalization API has huge potential. In fact, the best method shown in the article uses the same API internally(dateTimeFormat) method.

You should also look into the Temporal API.. that's in stage 3 of the proposal now.

1
·
Ifeanyi Aladi
Ifeanyi Aladi
Sep 14, 2023

This came to my feed just when I needed it, I appreciate it!

1
·
·1 reply
Tapas Adhikary
Tapas Adhikary
Author
·Sep 15, 2023

That's great. 👏

·