mirror of
https://github.com/urosran/cally.git
synced 2025-07-16 01:56:16 +00:00
Calendar controls fix
This commit is contained in:
@ -148,7 +148,7 @@ export const ManuallyAddEventModal = () => {
|
||||
setIsPrivate(editEvent?.private || false);
|
||||
|
||||
setStartTime(() => {
|
||||
const date = initialDate ?? new Date();
|
||||
const date = initialDate ? new Date(initialDate) : new Date();
|
||||
date.setSeconds(0, 0);
|
||||
return date;
|
||||
});
|
||||
|
Reference in New Issue
Block a user