From 2ef9715c28d3f6f412ae4912302a22ef6fe0520c Mon Sep 17 00:00:00 2001 From: kwzrd Date: Tue, 31 Mar 2020 18:16:13 +0200 Subject: Deseasonify: title-case month names in frontend After 00af207de3087a41270f216ad86e06ba7dbf9d42, we should ensure that the month names aren't shown to the user in all caps. Co-authored-by: MarkKoz --- bot/exts/evergreen/branding.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/exts/evergreen/branding.py b/bot/exts/evergreen/branding.py index 9761811a..8e96ad52 100644 --- a/bot/exts/evergreen/branding.py +++ b/bot/exts/evergreen/branding.py @@ -219,7 +219,7 @@ class BrandingManager(commands.Cog): # If we're in a non-evergreen season, also show active months if self.current_season is not SeasonBase: - active_months = ", ".join(m.name for m in self.current_season.months) + active_months = ", ".join(m.name.title() for m in self.current_season.months) title = f"{self.current_season.season_name} ({active_months})" else: title = self.current_season.season_name @@ -407,7 +407,7 @@ class BrandingManager(commands.Cog): if season is SeasonBase: active_when = "always" else: - months = ", ".join(m.name for m in season.months) + months = ", ".join(m.name.title() for m in season.months) active_when = f"in {months}" description = ( -- cgit v1.2.3