Skip to content

Commit

Permalink
Fix for v0.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
spurll committed Sep 5, 2017
1 parent 55b786e commit 528f7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/conversions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ round_trip = TimeZones.unix2zdt(TimeZones.zdt2unix(Int64, zdt))
zdt = ZonedDateTime(2010, 1, 2, 3, 4, 5, 999, utc)
round_trip = TimeZones.unix2zdt(TimeZones.zdt2unix(Int64, zdt))
@test round_trip != zdt
@test round_trip == floor(zdt, Dates.Second)
@test round_trip == floor(zdt, Dates.Second(1))

# timezone loss
zdt = ZonedDateTime(2010, 1, 2, 3, 4, 5, warsaw)
Expand Down

0 comments on commit 528f7a9

Please sign in to comment.