Skip to content

Commit

Permalink
fix: possible fix of logic in jquery-datetimepicker-2-5-4-translated.…
Browse files Browse the repository at this point in the history
…js (openemr#7223)
  • Loading branch information
bradymiller authored Feb 14, 2024
1 parent e153cbb commit 8ce01b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/js/xl/jquery-datetimepicker-2-5-4-translated.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8ce01b3

Please sign in to comment.