Skip to content

Commit 33237ef

Browse files
authored
Add compat note in Dates.periods docstring (#39189)
1 parent 012349b commit 33237ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/Dates/src/periods.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,9 @@ end
200200
Dates.periods(::CompoundPeriod) -> Vector{Period}
201201
202202
Return the `Vector` of `Period`s that comprise the given `CompoundPeriod`.
203+
204+
!!! compat "Julia 1.7"
205+
This function requires Julia 1.7 or later.
203206
"""
204207
periods(x::CompoundPeriod) = x.periods
205208

0 commit comments

Comments
 (0)