You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
YearLocator should prefer ticks at the turn of the decade #9838
YearLocator is agnostic about decades. Ticks at the decades are nicer, so when choosing a starting value in some cases it should prefer to start a the turn of the decade or even mid decade. i.e 1970 instead of 1968, 1965 instead of 1964. This "smart" behaviour should apply when the intervals are factors of 5 and 10.
Yeah, the logic for years is different because you don't know the range of years to start with. But, this should be easy to fix with a bit of extra logic (I think).
Activity
dstansby commentedon Nov 23, 2017
Probably related to #9801
has2k1 commentedon Nov 23, 2017
Yes I think the motivation behind both issues is the same, but the solution (so far) does not work for this case.
jklymak commentedon Nov 23, 2017
Yeah, the logic for years is different because you don't know the range of years to start with. But, this should be easy to fix with a bit of extra logic (I think).