You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But on CFTime.DateTime360Day (and maybe other types here?) it fails:
julia>zero(CFTime.DateTime360Day)
ERROR: MethodError: no method matching zero(::Type{DateTime360Day})
The function`zero` exists, but no method is defined for this combination of argument types.
Closest candidates are:zero(::Type{Union{}}, Any...)
@ Base number.jl:310zero(::Type{Time})
@ Dates C:\Users\rafael.schouten\.julia\juliaup\julia-1.11.2+0.x64.w64.mingw32\share\julia\stdlib\v1.11\Dates\src\types.jl:460zero(::Type{LibGit2.GitHash})
@ LibGit2 C:\Users\rafael.schouten\.julia\juliaup\julia-1.11.2+0.x64.w64.mingw32\share\julia\stdlib\v1.11\LibGit2\src\oid.jl:221...
Stacktrace:
[1] top-level scope
@ REPL[7]:1
Should it just return Millisecond(0) ?
The text was updated successfully, but these errors were encountered:
On
DateTime
zero
works:But on
CFTime.DateTime360Day
(and maybe other types here?) it fails:Should it just return
Millisecond(0)
?The text was updated successfully, but these errors were encountered: