style: formatting

This commit is contained in:
Matouš Volf 2024-09-08 19:46:19 +02:00
parent 63ef7c817e
commit dab62596d4

View File

@ -41,8 +41,8 @@ pub(crate) fn CategoryCalendarPage() -> Element {
.format_localized( .format_localized(
format!( format!(
"%A %-d. %B{}", "%A %-d. %B{}",
if date_current.year() != today_date.year() {" %Y"} if date_current.year() != today_date.year()
else {""} {" %Y"} else {""}
).as_str(), ).as_str(),
Locale::en_US Locale::en_US
) )