Skip to content

Commit 440c0d3

Browse files
GHTaarnKristofferC
authored andcommitted
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 (cherry picked from commit 963eaa7)
1 parent fb129c5 commit 440c0d3

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
@@ -52,6 +52,7 @@ public
5252
active_project,
5353

5454
# Reflection and introspection
55+
get_extension,
5556
isambiguous,
5657
isexpr,
5758
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)