From dab62596d4dc4da10e9c0e67c1829a9442fd61ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Volf?= <66163112+matous-volf@users.noreply.github.com> Date: Sun, 8 Sep 2024 19:46:19 +0200 Subject: [PATCH] style: formatting --- src/components/pages/category_calendar_page.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/pages/category_calendar_page.rs b/src/components/pages/category_calendar_page.rs index 1a610b3..dba2d59 100644 --- a/src/components/pages/category_calendar_page.rs +++ b/src/components/pages/category_calendar_page.rs @@ -41,8 +41,8 @@ pub(crate) fn CategoryCalendarPage() -> Element { .format_localized( format!( "%A %-d. %B{}", - if date_current.year() != today_date.year() {" %Y"} - else {""} + if date_current.year() != today_date.year() + {" %Y"} else {""} ).as_str(), Locale::en_US )