The blagotube home of Sune Kirkeby. Here are rambling rants and some bits of code.

12. Jan
2004

Relative timestamps

Today I have been doing some minor hacking on my blog. I changed the visible timestamp on the rants from absolute to relative; the absolute timestamp is now a title attribute on the timestamp span (i.e. the asolute timestamp is shown as a tooltip, if you hover your mouse over the relative timestamp). In the same move I went from displaying the absolute timestamps in CET to GMT. This goes for all pages but the archive, where absolute timestamps still rule supreme.

The code to calculate and format the relative timestamps is naturally available in my favourite computer dialect (provided you don’t start foaming around the mouth when I mention the GPL (speaking of which, have I missed all the obvious jokes about the General Pubic License (sic) being viral, or are they just less obvious than I think?!)).

This post was written by Sune Kirkeby on 2004-01-12, and claimed to be mostly about rambling.