Read DUE.TODAY as DUETODAY

This commit is contained in:
Dheepak Krishnamurthy 2020-10-20 14:13:10 -06:00
parent db269c41f5
commit 5f16bf67ef

View file

@ -743,7 +743,7 @@ impl TTApp {
for tag_name in tag_names_in_precedence {
if task.tags().unwrap_or(&vec![]).contains(&tag_name.to_string().to_uppercase()) {
if task.tags().unwrap_or(&vec![]).contains(&tag_name.to_string().replace(".", "").to_uppercase()) {
let color_tag_name = format!("color.{}", tag_name);
let c = self.config.color.get(&color_tag_name).cloned().unwrap_or_default();
style = style.fg(c.fg).bg(c.bg);