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

A default tick format for an ordinal scale with temporal values in local time #2113

Open
mbostock opened this issue Jul 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mbostock
Copy link
Member

mbostock commented Jul 22, 2024

Per the code:

TODO We need a better way to infer whether the ordinal scale is UTC or local time.

Currently we support the default time format for ordinal scales when we can infer a time interval, but we always use UTC time. How could you indicate that you want to show the times in local time? Or should this be based on supporting an arbitrary time zone at the Plot level? #531 Alternatively, should we expose Plot’s default time formats as reusable implementations?

@mbostock mbostock added the enhancement New feature or request label Jul 22, 2024
@mbostock mbostock changed the title An ordinal scale with temporal values in local time A default tick format for an ordinal scale with temporal values in local time Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant