Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pickers][DateTimePicker] Duplicate hour 03 instead of 02 #12772

Closed
aelassas opened this issue Apr 14, 2024 · 3 comments
Closed

[pickers][DateTimePicker] Duplicate hour 03 instead of 02 #12772

aelassas opened this issue Apr 14, 2024 · 3 comments
Assignees
Labels
bug 🐛 Something doesn't work component: pickers This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@aelassas
Copy link

aelassas commented Apr 14, 2024

Steps to reproduce

Steps:

  1. Create a @mui/x-date-pickers/DateTimePicker
  2. with the following timeSteps={{ hours: 1, minutes: 5 }}
  3. hour 03 is set instead of 02

Live example: https://mui.com/x/react-date-pickers/date-time-picker/

Current behavior

hour 03 is set instead of 02

Expected behavior

hour 03 in the third value of hours should 02.
02 is missing.

Context

No response

Your environment

npx @mui/envinfo
  System:
    OS: Windows 11 10.0.22631
  Binaries:
    Node: 20.12.1 - C:\Program Files\nodejs\node.EXE
    npm: 10.5.1 - C:\Program Files\nodejs\npm.CMD
    pnpm: Not Found
  Browsers:
    Chrome: 123.0.6312.123
  npmPackages:
    @emotion/react: ^11.11.4 => 11.11.4
    @emotion/styled: ^11.11.5 => 11.11.5
    @mui/base:  5.0.0-beta.40
    @mui/core-downloads-tracker:  5.15.15
    @mui/icons-material: ^5.15.15 => 5.15.15
    @mui/material: ^5.15.15 => 5.15.15
    @mui/private-theming:  5.15.14
    @mui/styled-engine:  5.15.14
    @mui/system:  5.15.15
    @mui/types:  7.2.14
    @mui/utils:  5.15.14
    @mui/x-data-grid: ^7.1.1 => 7.1.1
    @mui/x-date-pickers: ^7.2.0 => 7.2.0
    @types/react: ^18.2.78 => 18.2.78
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    typescript: ^4.9.5 => 4.9.5

Search keywords: duplicate hour 03

@aelassas aelassas added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Apr 14, 2024
@LukasTy
Copy link
Member

LukasTy commented Apr 15, 2024

Hello @aelassas
Thank you for raising this issue. 👍
Could you clarify which timezone/region are you on?
I assume that this a duplicate of #12403. 🤔

@LukasTy LukasTy added status: waiting for author Issue with insufficient information component: pickers This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Apr 15, 2024
@LukasTy LukasTy changed the title Duplicate hour 03 instead of 02 in @mui/x-date-pickers/DateTimePicker [pickers] Duplicate hour 03 instead of 02 in @mui/x-date-pickers/DateTimePicker Apr 15, 2024
@LukasTy LukasTy changed the title [pickers] Duplicate hour 03 instead of 02 in @mui/x-date-pickers/DateTimePicker [DateTimePicker] Duplicate hour 03 instead of 02 Apr 15, 2024
@aelassas
Copy link
Author

Time Zone: WEST (Western European Summer Time) UTC/GMT +1 hour

@github-actions github-actions bot added status: waiting for maintainer These issues haven't been looked at yet by a maintainer and removed status: waiting for author Issue with insufficient information labels Apr 15, 2024
@michelengelen michelengelen changed the title [DateTimePicker] Duplicate hour 03 instead of 02 [pickers][DateTimePicker] Duplicate hour 03 instead of 02 Apr 16, 2024
@michelengelen michelengelen added bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Apr 18, 2024
@LukasTy
Copy link
Member

LukasTy commented Jan 7, 2025

This looks already resolved with the recent fixes to DST and the most recent change to disable unselectable (not technically existent) time: #12403.

@LukasTy LukasTy closed this as not planned Won't fix, can't repro, duplicate, stale Jan 7, 2025
@LukasTy LukasTy added the duplicate This issue or pull request already exists label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: pickers This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants