Fix formatting of ReminderWhile
This commit is contained in:
parent
07ce85982c
commit
12c86e0d28
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ impl LineLayout {
|
||||||
DayEntry::ReminderWhile(i, d) => {
|
DayEntry::ReminderWhile(i, d) => {
|
||||||
let text = Self::format_entry(files, entries, *i);
|
let text = Self::format_entry(files, entries, *i);
|
||||||
let plural = if *d == 1 { "" } else { "s" };
|
let plural = if *d == 1 { "" } else { "s" };
|
||||||
let text = format!("{} ({} day{} left)", text, i, plural);
|
let text = format!("{} ({} day{} left)", text, d, plural);
|
||||||
self.line_entry(Some(*i), Times::Untimed, text);
|
self.line_entry(Some(*i), Times::Untimed, text);
|
||||||
}
|
}
|
||||||
DayEntry::Undated(i) => {
|
DayEntry::Undated(i) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue