Archief januari 2010

Displaying post dates: why Twitter forces you to think

Everyone just seems to love the way Twitter displays its post dates: 5 minutes ago, about 9 hours ago, etcetera. It’s one of those examples where everybody just copies everybody without giving it a second thought. And yes, it certainly has a nice tone of voice, and it looks really user-friendly. But it isn’t. It forces you to think.

Fortunately, it’s easy to improve this elapsed time notation. In this post, I’ll explain how to make it work, and I offer a php function that you can just drop into your project.