summaryrefslogtreecommitdiffstats
path: root/Solsnu.Widget/Utilities
diff options
context:
space:
mode:
Diffstat (limited to 'Solsnu.Widget/Utilities')
-rw-r--r--Solsnu.Widget/Utilities/SunTimes.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Solsnu.Widget/Utilities/SunTimes.swift b/Solsnu.Widget/Utilities/SunTimes.swift
index d3ca7fc..8c7132e 100644
--- a/Solsnu.Widget/Utilities/SunTimes.swift
+++ b/Solsnu.Widget/Utilities/SunTimes.swift
@@ -74,7 +74,7 @@ class SunTimes {
// Step 9: Create date components, handling day boundary crossing
let currentCalendar = Calendar.current
- var baseComponents = currentCalendar.dateComponents([.year, .month, .day], from: date)
+ let baseComponents = currentCalendar.dateComponents([.year, .month, .day], from: date)
// Sunrise
var sunriseComp = baseComponents