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

View File

@@ -50,7 +50,7 @@
const handleConfirm = () => {
let date = DateTime.fromISO(selectedDate);
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();

View File

@@ -27,7 +27,7 @@
});
} else {
notificationController.show({
message: `${assetUpdateCount} assets updated.\nPlease reload to apply changes`,
message: `${assetUpdateCount} assets updated.`,
type: NotificationType.Info,
});
}