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

Configuration Option to set the time zone to use on the client. #2695

Open
JohnSomsky opened this issue Apr 10, 2024 · 1 comment
Open

Configuration Option to set the time zone to use on the client. #2695

JohnSomsky opened this issue Apr 10, 2024 · 1 comment

Comments

@JohnSomsky
Copy link

Expected behaviour

Our application allows customers to configure a "time zone of record" All dates are to be interpreted trough that time zone. All time stamps are displayed in that time zone (although storage is in UTC). So the "Today" functionality in the date picker should always use the time zone of record.

Actual behaviour

The date picker used the client (browser) time zone to determine what Today is. In some cases this can result in an invalid date being selected in cases where we only allow today and future dates or today and past dates. What we would like to do is have an option where we can tell the date picker what timezone it should use for the "local" timezone.

Please let us know if this would be considered. If so we would consider preparing a pull request for your approval.

Datepicker version used

1.10.0

Example code

N/A

@Mookmillionz
Copy link

connectivity.Cloudflareclient.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants