This commit is contained in:
2025-10-23 02:03:28 +02:00
parent e52d25c421
commit b477125e82
3 changed files with 86 additions and 23 deletions

View File

@@ -1462,7 +1462,9 @@ async function bulkSetLocation(location) {
for (const id of selectedEntries) {
const entry = entries.find(e => e.id === id);
if (entry) {
const success = await updateEntry(id, entry.date, entry.startTime, entry.endTime, entry.pauseMinutes, location);
// Convert date from YYYY-MM-DD to DD.MM.YYYY for updateEntry
const formattedDate = formatDateDisplay(entry.date);
const success = await updateEntry(id, formattedDate, entry.startTime, entry.endTime, entry.pauseMinutes, location);
if (success) {
updated++;
}