From 8ce01b393b4d2aeda5643586ef7b812dc4aadd83 Mon Sep 17 00:00:00 2001 From: Brady Miller Date: Tue, 13 Feb 2024 23:51:36 -0800 Subject: [PATCH] fix: possible fix of logic in jquery-datetimepicker-2-5-4-translated.js (#7223) --- library/js/xl/jquery-datetimepicker-2-5-4-translated.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/js/xl/jquery-datetimepicker-2-5-4-translated.js b/library/js/xl/jquery-datetimepicker-2-5-4-translated.js index 53a7376a33e..eb2701116c3 100644 --- a/library/js/xl/jquery-datetimepicker-2-5-4-translated.js +++ b/library/js/xl/jquery-datetimepicker-2-5-4-translated.js @@ -82,6 +82,8 @@ function datetimepickerTranslated(selector, params) { if (params.showSeconds) { if (params.formatInput) { defaults.format = DateFormatRead("jquery-datetimepicker") + ' H:i:s'; + } else { + defaults.format = 'Y-m-d H:i:s'; } } else { if (params.formatInput) {