Skip to content

Commit 2096248

Browse files
musmKristofferC
authored andcommitted
Update doc return types for methods in dates (#22812)
1 parent 35ec98d commit 2096248

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

base/dates/query.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ dayname(day::Integer; locale::AbstractString="english") = dayname(day, LOCALES[l
129129
dayabbr(day::Integer; locale::AbstractString="english") = dayabbr(day, LOCALES[locale])
130130

131131
"""
132-
dayname(dt::TimeType; locale="english") -> AbstractString
132+
dayname(dt::TimeType; locale="english") -> String
133133
134134
Return the full day name corresponding to the day of the week of the `Date` or `DateTime` in
135135
the given `locale`.
@@ -145,7 +145,7 @@ function dayname(dt::TimeType;locale::AbstractString="english")
145145
end
146146

147147
"""
148-
dayabbr(dt::TimeType; locale="english") -> AbstractString
148+
dayabbr(dt::TimeType; locale="english") -> String
149149
150150
Return the abbreviated name corresponding to the day of the week of the `Date` or `DateTime`
151151
in the given `locale`.
@@ -236,7 +236,7 @@ monthname(month::Integer; locale::AbstractString="english") = monthname(month, L
236236
monthabbr(month::Integer; locale::AbstractString="english") = monthabbr(month, LOCALES[locale])
237237

238238
"""
239-
monthname(dt::TimeType; locale="english") -> AbstractString
239+
monthname(dt::TimeType; locale="english") -> String
240240
241241
Return the full name of the month of the `Date` or `DateTime` in the given `locale`.
242242
@@ -251,7 +251,7 @@ function monthname(dt::TimeType; locale::AbstractString="english")
251251
end
252252

253253
"""
254-
monthabbr(dt::TimeType; locale="english") -> AbstractString
254+
monthabbr(dt::TimeType; locale="english") -> String
255255
256256
Return the abbreviated month name of the `Date` or `DateTime` in the given `locale`.
257257

0 commit comments

Comments
 (0)