aboutsummaryrefslogtreecommitdiff
path: root/static/js/timeago.ts
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/timeago.ts')
-rw-r--r--static/js/timeago.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/static/js/timeago.ts b/static/js/timeago.ts
index edb3e9d..57eb16e 100644
--- a/static/js/timeago.ts
+++ b/static/js/timeago.ts
@@ -70,10 +70,7 @@
if (-1 * seconds >= 1) { return element.textContent = tiny(relative.format(-1 * seconds, "second",), 2); }
}
} catch (error) {
- console.error(
- "Error: Unable to resolve relative time format!",
- error,
- );
+ console.error("ERROR: Relative time resolution failed", error);
}
})(elements[i]);
}