aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/main.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/js/main.js b/js/main.js
index e8c5b060e..e434ee4a5 100644
--- a/js/main.js
+++ b/js/main.js
@@ -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();
+}); \ No newline at end of file