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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Date

Date

Photo of library

library

Related news:

News photo

Show HN: MCP server for up-to-date Zig standard library documentation

News photo

We collected all the Pixel 10 and Pixel 10 Fold rumors and leaks to date

News photo

Google officially sets a date for its Pixel 10 launch event