User:Amaury/common.js: Difference between revisions

Content deleted Content added
Created page with '{{subst:iusc|1=User:Mxn/CommentsInLocalTime.js}}'
 
mNo edit summary
Line 1:
importScript( 'User:Mxn/CommentsInLocalTime.js' ); // Backlink: [[User:Mxn/CommentsInLocalTime.js]]
 
window.LocalComments = $.extend(window.LocalComments, {
formats: {
day: function (then) { return then.fromNow(); },
week: function (then) { return then.calendar(); },
other: "LLL",
},
tooltipFormats: [
function (then) { return then.fromNow(); },
"LLLL",
"YYYY-MM-DDTHH:mmZ",
],
});