realtime updates of "6 minutes ago" with fallback to iso8601 timestamps (available on tooltip)

This commit is contained in:
friendica
2012-07-23 04:11:59 -07:00
parent 33ea8737b7
commit 3decf67e6d
8 changed files with 85 additions and 8 deletions

View File

@@ -686,3 +686,31 @@ function previewTheme(elm) {
});
};
})(jQuery);
$(document).ready(function() {
jQuery.timeago.settings.strings = {
prefixAgo: t01,
prefixFromNow: t02,
suffixAgo: t03,
suffixFromNow: t04,
seconds: t05,
minute: t06,
minutes: t07,
hour: t08,
hours: t09,
day: t10,
days: t11,
month: t12,
months: t13,
year: t14,
years: t15,
wordSeparator: t16,
numbers: t17
};
$("abbr.wall-item-ago-time").timeago();
});