From 3ec88ad554abebf25916690534e6b27a1ba02d26 Mon Sep 17 00:00:00 2001 From: DeepData-Diver <132279273+DeepData-Diver@users.noreply.github.com> Date: Wed, 4 Sep 2024 20:45:13 -0700 Subject: [PATCH] Update ui/src/main/js/view/templates/index.js Co-authored-by: Jesse Glick --- ui/src/main/js/view/templates/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/src/main/js/view/templates/index.js b/ui/src/main/js/view/templates/index.js index e30d43ba..a98f049d 100644 --- a/ui/src/main/js/view/templates/index.js +++ b/ui/src/main/js/view/templates/index.js @@ -100,7 +100,6 @@ registerHBSHelper('formatDate', function (date, toFormat) { if (toFormat == 'time') { return theDate.toLocaleTimeString(userLocale, {hour: '2-digit',minute: '2-digit', hour12: false }); } - // New case for 'year' if (toFormat == 'year') { return theDate.toLocaleDateString(userLocale, {year: 'numeric'}); }