diff --git a/stdlib/Dates/src/periods.jl b/stdlib/Dates/src/periods.jl index 2af634bdf104c..22c792cb2f333 100644 --- a/stdlib/Dates/src/periods.jl +++ b/stdlib/Dates/src/periods.jl @@ -200,6 +200,9 @@ end Dates.periods(::CompoundPeriod) -> Vector{Period} Return the `Vector` of `Period`s that comprise the given `CompoundPeriod`. + +!!! compat "Julia 1.7" + This function requires Julia 1.7 or later. """ periods(x::CompoundPeriod) = x.periods