diff options
author | tdro <tdro@noreply.example.com> | 2023-12-06 16:36:24 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-12-06 16:36:24 -0500 |
commit | 3636d3e9357960f2dfd9b17da917d183db968427 (patch) | |
tree | fe92b7ae7a01d282867af180ad3eaf97bab4f748 /static/js/timeago.ts | |
parent | e469338b416a4c129fd42fd448e902ddd1f66921 (diff) | |
download | canory-3636d3e9357960f2dfd9b17da917d183db968427.tar.gz canory-3636d3e9357960f2dfd9b17da917d183db968427.tar.bz2 canory-3636d3e9357960f2dfd9b17da917d183db968427.zip |
static/js: Organize console filters
Info, warning, and errors
Diffstat (limited to 'static/js/timeago.ts')
-rw-r--r-- | static/js/timeago.ts | 5 |
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]); } |