Fix small bug in the hour/timezone
This commit is contained in:
@@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user