Skip to content

Commit

Permalink
fix: format of month can overflow bounds of panel if Long
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 authored and mmstick committed Aug 1, 2024
1 parent 02b1743 commit d654743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cosmic-applet-time/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ impl cosmic::Application for Window {
let mut date_bag = Bag::empty();

date_bag.day = Some(components::Day::NumericDayOfMonth);
date_bag.month = Some(components::Month::Long);
date_bag.month = Some(components::Month::Short);

let formated = self.format(date_bag, &self.now);

Expand Down

0 comments on commit d654743

Please sign in to comment.