Ext.fc.fuzzyDate - a nice way to present date and time
Ext.fc.fuzzyDate - a nice way to present date and time
About
The FuzzyDate plugin was inspired by the TimeAgo plugin for jQuery . I needed something similar for ExtJs. Since i didn't find it I decided to build one for ExtJs.
The ideia is instead of showing a timestamp to the user show a more friendly message like one hour ago or 3 months from now
Features
Updates timestamps automatically, avoiding timestamps dated "1 minute ago" even though the page was opened 10 minutes ago
Multiple languages supported
Fully Customizable
You can define several date formats that will be used to convert the date string to an Ext Date object
if don't need automatic updates neither want to have it atached to an element you can simply get the translated date with the translate() function