top | item 1093076

JQuery Plugin: CuteTime, C'est Magnifique (v 1.1) [UPDATE]

26 points| theproductguy | 16 years ago |tpgblog.com | reply

5 comments

order
[+] milestinsley|16 years ago|reply
This is pretty cool and worth noting for future project, but I can't help thinking it makes more sense to do this server side.

It would be more useful, to me at least, if it converted user inputted "cute dates" (i.e 3 days ago) into a compliant timestamp (i.e 2010-1-29 20:13:00).

[+] Raphael|16 years ago|reply
Client side is good when you are viewing new items and leave your window open for awhile. The script can run again and update "a few seconds ago" to "a half hour ago".
[+] andrewmccall|16 years ago|reply
If you're handing dates straight back into the interface sure, but if you're calling an ajax api or similar it may be better on the client side. Twitter for example, nice dates on the web and in clients, the ajax stuff gives the long ones.