Как исправить ошибку «Дата окончания.getDay не является функцией»?
#jquery Вопрос: Я получаю эти ошибки в консоли Chrome: jquery.min.js:2 jQuery.Deferred exception: endDate.getDay is not a function TypeError: endDate.getDay is not a function at HTMLDocument.<anonymous> (https://www.example.it/wp-content/uploads/siteground-optimizer-assets/siteground-optimizer-combined-js-40bb2684c8af3cfe5929a54eeb793adf.js:12:48) at e (https://c0.wp.com/c/5.8.1/wp-includes/js/jquery/jquery.min.js:2:30038) at…