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

[Request] UTC timezone mode for date/datetime picker #470

Closed
NothingWeAre opened this issue Mar 18, 2017 · 2 comments
Closed

[Request] UTC timezone mode for date/datetime picker #470

NothingWeAre opened this issue Mar 18, 2017 · 2 comments
Milestone

Comments

@NothingWeAre
Copy link

NothingWeAre commented Mar 18, 2017

I would like to request a setting to use single instance of datepicker in UTC mode.
I have project where backend (which i cannot control) expects UTC date, but with timezone aware datepicker selected date can change depending on user timezone and current time.
Which is unexpected behavior for datepicker (without time selection).

Example with Europe/Kiev timezone:
Time of test: 22:24:26
selected date: 2017-03-01
MODEL: 2017-03-01T20:24:26.000Z

Time of test: 01:36:49
selected date: 2017-03-01
MODEL: 2017-02-28T23:36:49.000Z

and even daylight saving plays with data (different time delta):
Time of test: 01:46:11
selected date: 2017-04-01
MODEL: 2017-03-31T22:46:11.000Z

PS. it would be good if there was an option to accept selected date by click on "day" number. Without needing to press "set" button

@rstoenescu
Copy link
Member

Sounds like a good idea. Will do.

@rstoenescu
Copy link
Member

Done for v1.0.

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