time_since()
14th June 2003
I’ve changed the date heading for each post to display the relative time since the entry was posted, rather than absolute the date and time. My main reason for doing this is that it solves the timezone problem; all times on this site are in GMT, but the majority of the site’s visitors are likely to be in different timezones. Showing the time elapsed since the entry was posted serves everyone regardless of their location.
Rather than write my own function for this, I have reused the one written by Natalie Downe for her own blog, which she launched a few days ago. She has described its workings in some detail in her most recent entry.
More recent articles
- Qwen2.5-Coder-32B is an LLM that can code well that runs on my Mac - 12th November 2024
- Visualizing local election results with Datasette, Observable and MapLibre GL - 9th November 2024
- Project: VERDAD - tracking misinformation in radio broadcasts using Gemini 1.5 - 7th November 2024