style: formatting

This commit is contained in:
Matouš Volf 2024-09-08 19:46:19 +02:00
parent 13eae40e35
commit f5e0bb1804

View File

@ -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
)