Closed jrpear closed 1 year ago
This can definitely be done. A quick look shows that Weekday
will be trivial. Time
will be slightly more involved, as I'll have to calculate the width up-front. The same is true for other types, I imagine.
Done on main
.
Gives
It should give
This is because
time
'sDisplay
implementations don't look at the formatting flags on the Formatter passed.fmt::Formatter::pad
can do this automatically.