fix: preserve original timezone when reopening event update modal

- Add formatDateTimeInTimezone() helper to format dates in event's original timezone
- Fix EventUpdateModal to display event times in original timezone instead of browser timezone
- Fix EventModal (duplicate event) with same timezone handling
- Update EventDisplay tests to use flexible date pattern
This commit is contained in:
lenhanphung
2025-10-07 17:50:23 +07:00
committed by Benoit TELLIER
parent 732c2cd051
commit 64393bf161
6 changed files with 48 additions and 34 deletions
+1 -4
View File
@@ -300,10 +300,7 @@ export default function EventDisplayModal({
>
Decline
</Button>
<Button
color="primary"
onClick={() => {}}
>
<Button color="primary" onClick={() => {}}>
Propose new time
</Button>
</ButtonGroup>