Skip to content

[scheduler] Timezone Issue 9: check render positioning on dst days#20900

Merged
rita-codes merged 10 commits intomui:masterfrom
rita-codes:20628-scheduler-timezone-issue-9---check-render-positioning-on-dst-days
Jan 14, 2026
Merged

[scheduler] Timezone Issue 9: check render positioning on dst days#20900
rita-codes merged 10 commits intomui:masterfrom
rita-codes:20628-scheduler-timezone-issue-9---check-render-positioning-on-dst-days

Conversation

@rita-codes
Copy link
Copy Markdown
Member

@rita-codes rita-codes commented Jan 13, 2026

Why

The Scheduler is rendered as a fixed 24h grid per day (Calendar and Timeline), but during DST transitions a day is not always 24h in real time.

When events are positioned using timestamps, DST days end up being visually shorter or longer, causing events around the DST jump to appear incorrectly sized and positioned.

What

This PR switches the timeline positioning logic from milliseconds to a stable “minutes in the grid” model.

Events are positioned using:

  • the day index in the collection
  • plus the number of minutes since local midnight (minutesInDay)

This keeps the layout visually consistent and predictable, even on DST transition days.

Docs and examples were updated to explicitly cover a DST case (Europe/Paris).

…imezone-issue-9---check-render-positioning-on-dst-days
…imezone-issue-9---check-render-positioning-on-dst-days
@rita-codes rita-codes self-assigned this Jan 13, 2026
@rita-codes rita-codes added scope: scheduler Changes related to the scheduler. type: new feature Expand the scope of the product to solve a new problem. labels Jan 13, 2026
@rita-codes rita-codes changed the title 20628 scheduler timezone issue 9 check render positioning on dst days [scheduler] Timezone Issue 9: check render positioning on dst days Jan 13, 2026
@mui-bot
Copy link
Copy Markdown

mui-bot commented Jan 13, 2026

Deploy preview: https://deploy-preview-20900--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 4dec01c

@rita-codes rita-codes merged commit 8b6e5ac into mui:master Jan 14, 2026
21 checks passed
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 9 - Check render positioning on DST days

3 participants