Skip to content

Commit

Permalink
use Base.Dates
Browse files Browse the repository at this point in the history
This works on 0.6, on 0.7 it should be `use Dates`, but this is needed to get around this error in 0.7:
UndefVarError: Date not defined
  • Loading branch information
visr committed Jul 8, 2018
1 parent c9f12dc commit d224c60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ArchGDAL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module ArchGDAL
import Compat.String
import GDAL, GeoInterface
import DataStreams: Data
using Base.Dates

include("utils.jl")
include("types.jl")
Expand Down
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Base.Test
using Base.Dates

const testdatadir = dirname(@__FILE__)

Expand Down

0 comments on commit d224c60

Please sign in to comment.