I did some stuff

This commit is contained in:
Aaron Helton
2019-04-19 16:23:04 -04:00
parent d6227500b3
commit 908db7fd74

View File

@@ -37,7 +37,7 @@ class WorldClockViewController: UIViewController, UIPickerViewDelegate, UIPicker
func updateClock()
{
let date = Date()
let date = Date().addingTimeInterval(TimeInterval(60 * 60 * UTC_ZONES[currentZone]))
let calendar = Calendar.current
let hour = calendar.component(.hour, from: date)
let minutes = calendar.component(.minute, from: date)