Skip to content

Commit 963eaa7

Browse files
authored
Base.get_extension & Dates.format made public (#58108)
`Base.get_extension` and `Dates.format` both appear in the manual and should therefore be `public` symbols according to [51335](#51335 (comment)). They appear in the manual [here](https://docs.julialang.org/en/v1/base/base/#Base.get_extension) and [here](https://docs.julialang.org/en/v1/stdlib/Dates/#Dates.format-Tuple%7BTimeType,%20AbstractString%7D). Please also consider back porting this to version 1.12
1 parent 9c8710b commit 963eaa7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

base/public.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public
5454
active_project,
5555

5656
# Reflection and introspection
57+
get_extension,
5758
isambiguous,
5859
isexpr,
5960
isidentifier,

stdlib/Dates/src/Dates.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,6 @@ export Period, DatePeriod, TimePeriod,
8181
# io.jl
8282
ISODateTimeFormat, ISODateFormat, ISOTimeFormat, DateFormat, RFC1123Format, @dateformat_str
8383

84+
public format
85+
8486
end # module

0 commit comments

Comments
 (0)