diff --git a/src/widgets/datetime.rs b/src/widgets/datetime.rs index 2801722..7e899e8 100644 --- a/src/widgets/datetime.rs +++ b/src/widgets/datetime.rs @@ -69,7 +69,14 @@ impl Widget for DateTimeWidget { None }; - let mut data = Block::new().append_full_text(&time_string).clone(); + let time_string = format!( + r#"{}"#, + time_string + ); + let mut data = Block::new() + .append_full_text(&time_string) + .use_pango() + .clone(); if let Some(color) = color { data.color(color); }