Skip to content

feature request: option to set timezone #507

@katiepeters

Description

@katiepeters

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions