re: Formatting and modifying JavaScript dates with date-fns VIEW POST

TOP OF THREAD FULL DISCUSSION
re: If you've ever used something like PHP's date handling functions, JS is a huge let down in this area. Though I must admit I never got around to pic...
 

It's actually not huge at all, date-fns v2 introduces new lightFormat that supports most popular tokens and its size is only 887 B.

 

Vanilla JS lacks the comparable features PHP provides out of the box, or the features provided in these libraries. I actually wasn't referring to the file size either, my bad!

code of conduct - report abuse