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

Equivalent of d3.unixDay for local time #62

Closed
mbostock opened this issue Jun 25, 2023 · 1 comment
Closed

Equivalent of d3.unixDay for local time #62

mbostock opened this issue Jun 25, 2023 · 1 comment

Comments

@mbostock
Copy link
Member

Ref. #58 (comment)

Also, it’s a bit confusing that d3.unixDay doesn’t have the d3.utc prefix like the other UTC time intervals. I wonder if it wouldn’t make more sense to

  1. Rename d3.utcDay to d3.utcMonthDay
  2. Rename d3.timeDay to d3.timeMonthDay
  3. Rename d3.unixDay to d3.utcDay
  4. Create a d3.timeDay that is analogous to the new d3.utcDay (formerly d3.unixDay)

This would make sure that d3.timeTicks is consistent with d3.utcTicks, and eliminate the occasional irregularly-spaced tick at the start of the month.

@mbostock
Copy link
Member Author

Folding into #64.

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

Successfully merging a pull request may close this issue.

1 participant