JuliaTime / NanoDates.jl

Dates with nanosecond resolved days
MIT License
31 stars 3 forks source link

Bug: Incorrect redefinition #25

Closed gryumov closed 1 year ago

gryumov commented 1 year ago
julia> versioninfo()
Julia Version 1.8.2
Commit 36034abf26 (2022-09-29 15:21 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.6.0)
  CPU: 8 × Apple M1 Pro
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
  Threads: 8 on 6 virtual cores
Environment:
  JULIA_EDITOR = atom  -a
  JULIA_NUM_THREADS = 8

julia> using Dates

julia> Dates.Millisecond(Dates.Second(5))
5000 milliseconds

julia> using NanoDates <--------------

julia> Dates.Millisecond(Dates.Second(5)) 
0 milliseconds  <--------------

(@v1.8) pkg> st NanoDates
Status `~/.julia/environments/v1.8/Project.toml`
  [46f1a544] NanoDates v0.1.6
JeffreySarnoff commented 1 year ago

Thank you.

JeffreySarnoff commented 1 year ago

fixed in main, merge pending