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

feature request: option to set timezone #507

Closed
katiepeters opened this issue Jun 14, 2016 · 3 comments
Closed

feature request: option to set timezone #507

katiepeters opened this issue Jun 14, 2016 · 3 comments

Comments

@katiepeters
Copy link

Please correct me if I missed something, but it looks like you can't currently make the DatePicker component use a different timezone than the one local to the user. Maybe switch to using moment-timezone and provide an optional prop that lets us set a timezone?

I'm working on an app where the calendar needs to be viewed in time local to a geographic location that might be different than the user's location. But the component doesn't take this into account.

So for example, the geographic location is New York, but the user is in China. 'Today' in the calendar will be one day ahead of what it should be since China is so far ahead time-wise.

@rafeememon
Copy link
Contributor

Think this is a similar request to #498

@martijnrusschen
Copy link
Member

This should be possible now.

@vazbloke
Copy link

Since the move from moment to date-fns, how can this be done now?

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

4 participants