Fix rendering of date lines

This commit is contained in:
Joscha 2021-12-12 19:09:11 +00:00
parent 2276aae8c5
commit 240becd28d

View file

@ -251,7 +251,7 @@ impl DisplayContext {
let weekday: Weekday = date.weekday().into();
let weekday = weekday.full_name();
self.push(&format!(
"{:=>nw$}={:sw$}=== {:9} {} ==={:=>sw$}={:=>nw$}\n",
"{:=>nw$}={:=<sw$}=== {:9} {} ==={:=<sw$}={:=>nw$}\n",
"",
Self::display_spans(spans, '='),
weekday,