Get the latest tech news
Never write your own date parsing library
A post by Zach Leatherman (zachleat)
As we move Eleventy to run in more JavaScript environments and runtimes (including on the client) we’ve had to take a hard look at our use of Luxon, currently our largest dependency: Luckily we have a north star date format: RFC 9557, billed as “an extension to the ISO 8601 / RFC 3339” formats and already in use by the upcoming Temporal web standard APIs for date and time parsing coming to a JavaScript runtime near you. It is with a little trepidation that I have shipped@11ty/parse-date-strings, a new RFC 9557 compatible date parsing library that Eleventy will use moving forward.
Or read this on Hacker News