User:Amaury/common.js: Difference between revisions

Content deleted Content added
mNo edit summary
mNo edit summary
Line 3:
window.LocalComments = $.extend(window.LocalComments, {
formats: {
day: function (then) { return then.calendar().replace(/^Last /, ""); },
week: function (then) { return then.calendar(); },
other: "MMMM D, YYYY [at] h:mm A",
},
tooltipFormats: null
});
 
moment().calendar({
lastWeek: 'dddd',
});