We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9421af commit 1154ca7Copy full SHA for 1154ca7
src/original.jl
@@ -199,7 +199,7 @@ function parseto(::Type{DateTime}, str::AbstractString)
199
# Check for ambiguous time
200
if mapreduce(length, +, m.captures[2:4]) == 5
201
if 0 <= rem(hr, 10) <= 5 && 1 <= rem(mn, 10) <= 5 # a 'shifted' parsing would also be valid
202
- warn("Header time ", str, " is ambiguous! Assigning the ambiguous digit to hours.")
+ Compat.@warn("Header time ", str, " is ambiguous! Assigning the ambiguous digit to hours.")
203
end
204
205
dt = d + Dates.Hour(hr) + Dates.Minute(mn) + Dates.Second(sc)
0 commit comments