Content deleted Content added
No edit summary Tag: Reverted |
Undid revision 1294539792 by Mxn (talk) |
||
Line 327:
// Replace the text.
var
var text;
if (component.unit === "weeks") {
text = formatDate(then, {
type: "absolute",
options: LocalComments.outputFormats.absolute,
});
} else {
text = formatDate(then, {
type: "relative",
options: LocalComments.outputFormats.relative,
});
}
if (text) {
$(elt).text(text);
|