Skip to content

Commit 8271df0

Browse files
committed
Removed use of @vectorize_1arg for 0.6
See JuliaLang/julia#17302
1 parent d997abb commit 8271df0

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/accessors.jl

-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ for period in (:Hour, :Minute, :Second, :Millisecond)
2727
accessor = Symbol(lowercase(string(period)))
2828
@eval begin
2929
$accessor(zdt::ZonedDateTime) = $accessor(localtime(zdt))
30-
@vectorize_1arg ZonedDateTime $accessor
31-
3230
$period(zdt::ZonedDateTime) = $period($accessor(zdt))
3331
end
3432
end

src/conversions.jl

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import Base.Dates: now, unix2datetime
66
Returns an equivalent `DateTime` without any `TimeZone` information.
77
"""
88
DateTime(zdt::ZonedDateTime) = localtime(zdt)
9-
@vectorize_1arg ZonedDateTime DateTime
109

1110
"""
1211
now(::TimeZone) -> ZonedDateTime

0 commit comments

Comments
 (0)