remove duplicated segment

pull/2885/head
Josh Jones 2024-02-04 16:11:39 +01:00
parent e02cb9cfb9
commit 1fa1045af9
1 changed files with 0 additions and 9 deletions

View File

@ -446,15 +446,6 @@ auto waybar::modules::Clock::first_day_of_week() -> weekday {
auto waybar::modules::Clock::get_ordinal_date(const year_month_day& today) -> std::string { auto waybar::modules::Clock::get_ordinal_date(const year_month_day& today) -> std::string {
auto day = static_cast<unsigned int>(today.day()); auto day = static_cast<unsigned int>(today.day());
switch (day) {
case 11:
return "11th";
case 12:
return "12th";
case 13:
return "13th";
}
std::stringstream res; std::stringstream res;
res << day; res << day;
if (day >= 11 && day <= 13) { if (day >= 11 && day <= 13) {