Dates in the calendar are duplicated
Potseluiko opened this issue ยท 1 comments
Potseluiko commented
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior ๐ฏ
Days in calendar are duplicated (double March 26).
Expected Behavior ๐ค
No duplicated days.
Steps to Reproduce ๐น
Steps:
- import moment from "moment-timezone"
- import MomentUtils from "@date-io/moment"
- Set default time zone in moment like this:
moment.tz.setDefault("Asia/Damascus");
I found two time zones to reproduce this bug:
"Asia/Damascus"
"Asia/Gaza"
- Live example is here:
https://codesandbox.io/s/sleepy-yalow-ht57t?file=/src/App.jsx
Your Environment ๐
Tech | Version |
---|---|
@material-ui/core | v4.4.3 |
@material-ui/pickers | v3.3.10 |
React | 16.12.0 |
Browser | Chrome Version 88.0.4324.192 (Official Build) (x86_64) |
TypeScript | No |
@date-io/moment | v1.3.11 |
moment-timezone | v0.5.33 |
oliviertassinari commented
@Potseluiko The component was moved to the main repository under the lab, in v5. https://next.material-ui.com/components/date-picker/. If you have a reproduction with this version, please open a new issue in https://github.com/mui-org/material-ui.