Fix datepicker locale when using min/max

This commit is contained in:
Richard Schreiber
2025-04-09 14:38:27 +02:00
committed by GitHub
parent ea955c779e
commit 2bb324f885
2 changed files with 1 additions and 2 deletions

View File

@@ -328,6 +328,7 @@ $(function () {
"use strict";
$("body").removeClass("nojs");
moment.locale($("body").attr("data-datetimelocale"));
var scrollpos = sessionStorage ? sessionStorage.getItem('scrollpos') : 0;
if (scrollpos) {