Skip to content

Conversation

@rita-codes
Copy link
Member

DO NOT merge, merge after #20744

Recurrence rules are now displayed in the user's display timezone in the recurrence tab, so the weekdays shown in the UI match what the user actually sees on the calendar.

When the user edits a recurrence rule, the changes are projected back to the event data timezone before being persisted, ensuring internal consistency.

WEEKLY BYDAY rules

  • Are projected from the event data timezone to the display timezone for rendering.
  • When edited, they are converted back from display timezone to data timezone using the event start as an anchor.
  • This ensures round-trip consistency between what the user sees and what is stored.

MONTHLY BYDAY rules with ordinals (e.g. 1MO, -1FR)

  • Are intentionally not projected. Ordinals represent a calendar position in the event's data timezone and do not map to a stable or reliable representation in another timezone.
  • When edited, the rule is preserved exactly as entered by the user.

UNTIL, start, end, and exception dates are converted back to the data timezone on update.

rita-codes and others added 30 commits December 18, 2025 13:06
…imezone-issue-7-add-timezone-field-to-the-event-model
…imezone-issue-7-add-timezone-field-to-the-event-model
…imezone-issue-8-show-in-the-recurrence-tab-the-data-converted-to-ui-timezone
…imezone-issue-8-show-in-the-recurrence-tab-the-data-converted-to-ui-timezone
…the-event-model' into 20600-scheduler-timezone-issue-8-show-in-the-recurrence-tab-the-data-converted-to-ui-timezone
@rita-codes rita-codes self-assigned this Dec 26, 2025
@rita-codes rita-codes added type: new feature Expand the scope of the product to solve a new problem. scope: scheduler Changes related to the scheduler. labels Dec 26, 2025
@mui-bot
Copy link

mui-bot commented Dec 26, 2025

Deploy preview: https://deploy-preview-20769--material-ui-x.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 0B(0.00%) 0B(0.00%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against b4d294e

@rita-codes rita-codes changed the title 20600 scheduler timezone issue 8 show in the recurrence tab the data converted to UI timezone [scheduler] Timezone Issue 8: show in the recurrence tab the data converted to UI timezone Dec 26, 2025
…he-recurrence-tab-the-data-converted-to-ui-timezone
…-tab-the-data-converted-to-ui-timezone' of github.com:rita-codes/mui-x into 20600-scheduler-timezone-issue-8-show-in-the-recurrence-tab-the-data-converted-to-ui-timezone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: scheduler Changes related to the scheduler. type: new feature Expand the scope of the product to solve a new problem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[scheduler] Timezone Issue 8: Show in the recurrence tab the data converted to the UI timezone

2 participants