acidb / mobiscroll

Cross platform UI controls for progressive web and hybrid apps (plain JS, jQuery, Angular and React)
https://mobiscroll.com
Other
1.54k stars 439 forks source link

Datepicker: make it easy to work with ISO timezones #488

Open jpike88 opened 3 years ago

jpike88 commented 3 years ago

Our app allows clients to set a timezone independent from their system UTC settings.

It should be as simple as passing an argument like 'Australia/Sydney' through, and the rest is handled naturally.

Right now it's maddening to work with

dioslaska commented 2 years ago

Timezone support added in v5.7.0. Here's an example: https://demo.mobiscroll.com/scheduler/setting-the-timezone#

jpike88 commented 2 years ago

I should have been more specific, I'm referring to the date picker and range picker. Your link refers only to the scheduler, which we don't use. If that's the case are you able to reopen this?

jpike88 commented 2 years ago

Recently added timezone support is broken if the picker is in 'date' controls mode. It appears to work in 'datetime' mode, but this improvement is half-implemented as it should cover the 'date' controls mode too.

jpike88 commented 2 years ago

Actually correction, I'm talking about 'calendar' control mode. See image. Screen Shot 2022-03-06 at 14 10 34

hieuendue commented 1 year ago

hi guys, i met the same issue. any update on it?

dioslaska commented 1 year ago

Timezone should not really matter in date-only selection. Do you have any use case, where it makes sense to have timezone for date-only selection mode?