‹ view all

Relative dates. A new dom.fyi feature, inspired by Anthony. The latest post will show a relative date rather than an absolute YearDay date if it was posted within the last couple of days.

Two relative values are possible. The title of a post will be today if you are reading within 24 hours of it being posted and yesterday if within 48 hours. Otherwise it will show the date as usual.

This means it's easier at a glance to see if the latest content is fresh.