Topic: What timezone is MDBDatepicker working with?
clickstudioltd priority asked 1 year ago
Does anyone know how the dates are generated in the date picker?
For example, when you disable past or future dates, is the current day determined by the timezone that the browser reports or is it based on UTC?
And is it possible for us to change the timezone for it?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Opened
Specification of the issue
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 5.1.0
- Device: PC
- Browser: Mozilla Firefox
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Grzegorz Bujański staff commented 1 year ago
Is determined based on the time zone reported by the browser. The variable storing the selected date has the Date type (not string). To change the time zone you need to modify the component's src.