Skip to content

Commit

Permalink
Removed use of @vectorize_1arg for 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Nov 10, 2016
1 parent 2a7a307 commit c3702a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/accessors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ for period in (:Hour, :Minute, :Second, :Millisecond)
accessor = Symbol(lowercase(string(period)))
@eval begin
$accessor(zdt::ZonedDateTime) = $accessor(localtime(zdt))
@vectorize_1arg ZonedDateTime $accessor

$period(zdt::ZonedDateTime) = $period($accessor(zdt))
end
end
1 change: 0 additions & 1 deletion src/conversions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Base.Dates: now, unix2datetime
Returns an equivalent `DateTime` without any `TimeZone` information.
"""
DateTime(zdt::ZonedDateTime) = localtime(zdt)
@vectorize_1arg ZonedDateTime DateTime

"""
now(::TimeZone) -> ZonedDateTime
Expand Down

0 comments on commit c3702a8

Please sign in to comment.