diff --git a/src/nanodate.jl b/src/nanodate.jl index 39e8f4b9..da91f2c5 100644 --- a/src/nanodate.jl +++ b/src/nanodate.jl @@ -85,7 +85,7 @@ NanoDate(dt::DateTime, cs::Microsecond) = NanoDate(dt, Nanosecond(value(cs) * 1_ NanoDate(dt::DateTime, cs::Microsecond, ns::Nanosecond) = NanoDate(dt, nanosecs(cs, ns)) -NanoDate(dt::Date, cs::Microsecond, ns::Nanosecond) = NanoDate(DateTime(dt), μs, ns) +NanoDate(dt::Date, cs::Microsecond, ns::Nanosecond) = NanoDate(DateTime(dt), cs, ns) NanoDate(dt::Date, cs::Microsecond) = NanoDate(DateTime(dt), cs) NanoDate(dt::Date, ns::Nanosecond) = NanoDate(DateTime(dt), ns) @@ -114,9 +114,9 @@ nanosecs(ms::Millisecond, cs::Microsecond, ns::Nanosecond) = Nanosecond(1_000_00 @inline nanosecs(cs::Microsecond, ns::Nanosecond) = nanosecs(value(cs), value(ns)) NanoDate(dt::DateTime, x) = NanoDate(dt, nanosecs(x)) -NanoDate(dt::DateTime, μs, ns) = NanoDate(dt, nanosecs(cs, ns)) +NanoDate(dt::DateTime, cs, ns) = NanoDate(dt, nanosecs(cs, ns)) NanoDate(d::Date, x) = NanoDate(d, nanosecs(x)) -NanoDate(d::Date, μs, ns) = NanoDate(d, nanosecs(cs, ns)) +NanoDate(d::Date, cs, ns) = NanoDate(d, nanosecs(cs, ns)) NanoDate(dy::Day, ns::Nanosecond) = NanoDate(Date(UTD(dy)), ns) NanoDate(dy::Day, cs::Microsecond) = NanoDate(Date(UTD(dy)), nanosecs(cs))