JuliaGraphics / Winston.jl

2D plotting for Julia
MIT License
171 stars 55 forks source link

Dates dependency #241

Closed my-little-repository closed 7 years ago

my-little-repository commented 8 years ago

I just reinstalled Winston today. This went fine but when I tried using Winston, I got an error complaining that the Dates package is not installed. Installing this package solved the problem. I use julia 0.4rc.

hustf commented 8 years ago

Same thing with IniFile: https://github.com/JuliaLang/IniFile.jl/issues/13

milktrader commented 8 years ago

The Dates package has been put into Base as of version 0.4. To remove the warning, a control flow needs to be put in the front-end of the module.

if VERSION < v"0.4-"
   using Dates
else
   using Base.Dates
end
milktrader commented 8 years ago

https://github.com/nolta/Winston.jl/pull/252