User:Mxn/CommentsInLocalTime/sandbox.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 340:
if (component.unit === "weeks") {
text = formatDate(then, {
type: "relativeabsolute",
options: LocalComments.outputFormats.relativeabsolute,
});
} else {
text = formatDate(then, {
type: "absoluterelative",
options: LocalComments.outputFormats.absoluterelative,
});
}