summaryrefslogtreecommitdiff
path: root/src/SMAPI/Utilities
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-04-17 17:23:24 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-04-17 17:23:24 -0400
commit06e2cb2e5936a0f33c24c14f118c54b25f0156b6 (patch)
treefa988fc8a123633ae9d583b46736e11329324773 /src/SMAPI/Utilities
parent841f85a74331a02bd45f3d40ea1b50e4bc9dd3eb (diff)
downloadSMAPI-06e2cb2e5936a0f33c24c14f118c54b25f0156b6.tar.gz
SMAPI-06e2cb2e5936a0f33c24c14f118c54b25f0156b6.tar.bz2
SMAPI-06e2cb2e5936a0f33c24c14f118c54b25f0156b6.zip
support lowercase season names in date translations
Diffstat (limited to 'src/SMAPI/Utilities')
-rw-r--r--src/SMAPI/Utilities/SDate.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SMAPI/Utilities/SDate.cs b/src/SMAPI/Utilities/SDate.cs
index 4d4920ab..03230334 100644
--- a/src/SMAPI/Utilities/SDate.cs
+++ b/src/SMAPI/Utilities/SDate.cs
@@ -152,7 +152,8 @@ namespace StardewModdingAPI.Utilities
{
day = this.Day,
year = this.Year,
- season = Utility.getSeasonNameFromNumber(this.SeasonIndex)
+ season = seasonName,
+ seasonLowercase = seasonName?.ToLower()
})
.Default(fallback);
}