-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
datesDates, times, and the Dates stdlib moduleDates, times, and the Dates stdlib moduledeprecationThis change introduces or involves a deprecationThis change introduces or involves a deprecation
Milestone
Description
Dates redefines +(::Array{Date}, Date...) = .+
, meaning that array + scalar doesn't throw an error.
julia/stdlib/Dates/src/arithmetic.jl
Line 94 in f8d82cc
(-)(x::AbstractArray{T}, y::T) where {T<:TimeType} = x .- y |
This should probably be deprecated for consistency.
KristofferC, JeffBezanson, mbauman and ExpandingMan
Metadata
Metadata
Assignees
Labels
datesDates, times, and the Dates stdlib moduleDates, times, and the Dates stdlib moduledeprecationThis change introduces or involves a deprecationThis change introduces or involves a deprecation