Skip to content

Commit 9becaa0

Browse files
committed
bug fix
1 parent ab52b8c commit 9becaa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ _todate(::Any) = throw(ArgumentError("DateFormat must be a string or a DateForma
813813
@noinline function allocate_charbuff_df(types::Vector{DataType}, dtformat::Dict{Int, <:DateFormat}, fixed_dtformat)
814814
charbuff = Vector{UInt8}[]
815815
if !isempty(dtformat)
816-
dtfmt = Vector{valtype(dtformat)}()
816+
dtfmt = Vector{DateFormat}()
817817
else
818818
dtfmt = Vector{typeof(_todate(fixed_dtformat))}()
819819
end

0 commit comments

Comments
 (0)