Fix small bug in the hour/timezone

This commit is contained in:
yannfrendo
2023-11-29 09:38:31 +01:00
parent d97981c9c3
commit 01376ff7cd
2 changed files with 2 additions and 2 deletions
@@ -50,7 +50,7 @@
const handleConfirm = () => { const handleConfirm = () => {
let date = DateTime.fromISO(selectedDate); let date = DateTime.fromISO(selectedDate);
if (selectedTimezone != null) { if (selectedTimezone != null) {
date = date.setZone(selectedTimezone); date = date.setZone(selectedTimezone, { keepLocalTime: true }); // Keep local time if not it's really confusing
} }
const value = date.toISO(); const value = date.toISO();
@@ -27,7 +27,7 @@
}); });
} else { } else {
notificationController.show({ notificationController.show({
message: `${assetUpdateCount} assets updated.\nPlease reload to apply changes`, message: `${assetUpdateCount} assets updated.`,
type: NotificationType.Info, type: NotificationType.Info,
}); });
} }