Results are in – No One Likes Working With Time
15 Jan
I recently performed a very Scientific survery asking ‘do you like working with time?’ I don’t mean ‘working with time constraints’, or ‘working with a person whos name is Time but they probably spell it like PThyhm (the P is silent).’ No, I mean working with time (timestamps, date formating, human-friendly time representation, etc) in your code — do you like it?
The results may or may not surprise you. With a sample size of 1, most if not all of those surveyed responded that they very strongly dislike working with timestamps!
I strongly agree with the person surveyed, so that’s why I’m so elated that I stumbled upon this repo on github the other day — jQuery timeago. Yes! Finally I can just dump my timestamps straight from the database onto the page, call $.timeago(’selector’), and bam — a perfectly human readable, self updating time representation.
If you’re one of the many that agree with the extremely scientific survey above, then I highly recommend you give this jQuery plugin a try – here’s the plugins homepage.

Recently, I’ve been working on a project that requires a lot of geocoding. Google provides a free service that takes any string as an input and returns a bunch of JSON encoded data if that string matches a physical location.
Recent Comments