-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Errors from findfirst(..., ::StepRange{Date,Year}) #35203
Comments
Notice that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This worked on Julia 1.0 and 1.1, but fails from 1.2 to 1.5:
This seems like a bug to me, as the range ought to be treated the same way as the collected array.
The method, which I think was added in #30778, is here:
julia/base/array.jl
Line 1794 in 9466232
It works fine for some dates, like
DateTime(2017):Second(1):DateTime(2020)
mentioned in the PR. But every second is the same length, while years vary.The text was updated successfully, but these errors were encountered: