I wrote a very simple date formatter for displaying the post time of my latest tweet on my homepage. For fun, it supports both the en_US locale and the zh_TW locale (Taiwan - Traditional Chinese).
http://homepages.uc.edu/~childrn/format_date_diff.js