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.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/js/timeago.ts b/static/js/timeago.ts
index 2cd72ca..6e56063 100644
--- a/static/js/timeago.ts
+++ b/static/js/timeago.ts
@@ -26,10 +26,10 @@
if (hours <= 48) { return element.textContent = relative.format(-1 * hours, "hour",); }
if (days <= 60) { return element.textContent = relative.format(-1 * days, "day",); }
- } catch (err) {
+ } catch (error) {
console.error(
"Error: Unable to resolve relative time format!",
- err,
+ error,
);
}
},