summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Utilities/SDate.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Utilities/SDate.cs')
-rw-r--r--src/StardewModdingAPI/Utilities/SDate.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Utilities/SDate.cs b/src/StardewModdingAPI/Utilities/SDate.cs
index bc3a2b38..d7631598 100644
--- a/src/StardewModdingAPI/Utilities/SDate.cs
+++ b/src/StardewModdingAPI/Utilities/SDate.cs
@@ -69,7 +69,9 @@ namespace StardewModdingAPI.Utilities
this.Day = day;
this.Season = season;
this.Year = year;
+#if !SMAPI_1_x
this.DayOfWeek = this.GetDayOfWeek();
+#endif
}
/// <summary>Get the current in-game date.</summary>