jQuery Minute™

…a jQuery Minute™ later and you're done!



JavaScript Pretty Date by John Resig

without comments

Once again the JavaScript master is at it with “Pretty Date” to take the unfriendly “2008-01-28T20:24:17Z” and turn it into: “2 hours ago“. Worth a look as it is short and sweet!

http://ejohn.org/blog/javascript-pretty-date/

Written by jdsharp

January 31st, 2008 at 10:30 am

Posted in Code-bits,JavaScript

Leave a Reply