Skip to content

detect ordinal year intervals#1512

Merged
mbostock merged 2 commits into
mainfrom
mbostock/year-tickFormat
May 1, 2023
Merged

detect ordinal year intervals#1512
mbostock merged 2 commits into
mainfrom
mbostock/year-tickFormat

Conversation

@mbostock
Copy link
Copy Markdown
Member

@mbostock mbostock commented Apr 30, 2023

If an ordinal scale has a yearly interval, use the appropriate %Y tick format by default, instead of isoformat which adds a trailing -01-01. Ref. #768 (comment).

@mbostock mbostock requested a review from Fil April 30, 2023 17:23
@mbostock mbostock force-pushed the mbostock/year-tickFormat branch from 765512f to 0a14683 Compare May 1, 2023 17:06
Comment thread src/time.js Outdated
@mbostock mbostock enabled auto-merge (squash) May 1, 2023 17:38
@mbostock mbostock merged commit 0941655 into main May 1, 2023
@mbostock mbostock deleted the mbostock/year-tickFormat branch May 1, 2023 17:40
chaichontat pushed a commit to chaichontat/plot that referenced this pull request Jan 14, 2024
* detect ordinal year intervals

* comment re. equality
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

Successfully merging this pull request may close these issues.

2 participants