diff --git a/src/types.jl b/src/types.jl index e4e5a63..00cd6f8 100644 --- a/src/types.jl +++ b/src/types.jl @@ -67,7 +67,7 @@ function Base.show(io::IO, m::MatrixMsg; muser::Union{Nothing,MatrixUser} = noth d = Dates.epochms2datetime(m.timestamp + Dates.datetime2epochms(Dates.unix2datetime(0))) dtfmt = if Dates.Hour(now()) - Dates.Hour(d) < Dates.Hour(24) - string(hour(d), ":", minute(d)) + string(string(hour(d),pad=2), ":", string(minute(d),pad=2)) else string(day(d), " ", Dates.monthabbr(d)) end