From ab6144d074421497bfb040a39f6fe72f4cfec9c4 Mon Sep 17 00:00:00 2001 From: Eunbin Son <58901024+thswlsqls@users.noreply.github.com> Date: Mon, 5 Oct 2026 00:55:17 +0900 Subject: [PATCH] Fix sortable date column ordering for 12 AM (midnight) times (#27032) --- war/src/main/webapp/scripts/sortable.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/war/src/main/webapp/scripts/sortable.js b/war/src/main/webapp/scripts/sortable.js index b42be9ee94..3e77891984 100644 --- a/war/src/main/webapp/scripts/sortable.js +++ b/war/src/main/webapp/scripts/sortable.js @@ -361,6 +361,8 @@ var Sortable = (function () { hours = parseInt(hours); if (dmatches[7] && dmatches[7].match(/pm/i) && hours < 12) { hours += 12; + } else if (dmatches[7] && dmatches[7].match(/am/i) && hours === 12) { + hours = 0; } return new Date(year, month, day, hours, minutes, seconds, 0); }