From b370b2672c41d82c15e4ae503e1d6bab518b9e5c Mon Sep 17 00:00:00 2001 From: Abhishek Date: Fri, 11 Feb 2022 09:26:21 -0500 Subject: [PATCH] Revert "Update PreferencesViewController.swift" This reverts commit 167d03b10b16618966f40e822599c9072359c424. --- Clocker/Preferences/General/PreferencesViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Clocker/Preferences/General/PreferencesViewController.swift b/Clocker/Preferences/General/PreferencesViewController.swift index 6cc70b4..e3a7137 100644 --- a/Clocker/Preferences/General/PreferencesViewController.swift +++ b/Clocker/Preferences/General/PreferencesViewController.swift @@ -642,6 +642,8 @@ extension PreferencesViewController { // Mark if the timezone is same as local timezone let timezoneObject = TimezoneData(with: newTimeZone) + timezoneObject.isSystemTimezone = timezoneObject.timezone() == NSTimeZone.system.identifier + let operationsObject = TimezoneDataOperations(with: timezoneObject) operationsObject.saveObject()