Fix small bug in the hour/timezone
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
});
|
||||
} else {
|
||||
notificationController.show({
|
||||
message: `${assetUpdateCount} assets updated.\nPlease reload to apply changes`,
|
||||
message: `${assetUpdateCount} assets updated.`,
|
||||
type: NotificationType.Info,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user