Merge commit '74f308743d863267e55bd8de64173bf070148280'

This commit is contained in:
Dobromir Popov
2024-04-13 19:19:01 +03:00
2 changed files with 3 additions and 1 deletions

View File

@ -183,7 +183,7 @@ export default function ImportPage() {
let day = new Date();
day.setDate(1); // Set to the first day of the month to avoid overflow
if (importDate && importDate.value) {
let monthOfIportInfo = common.getMonthInfo(importDate.value);
let monthOfIportInfo = common.getMonthInfo(new Date(importDate.value));
day = monthOfIportInfo.firstMonday;
}