Closed UmarJamil closed 7 years ago
Hmm, interesting. I'm geting n+7 hours
@viniciussoares do you have any idea on how this works?
I found the problem. When using NSDate, you have to use a NSDateFormatter
to convert it to string:
let formatter = NSDateFormatter()
formatter.dateFormat = "yyyy-MM-dd HH:mm"
self.textField.text = "\(formatter.stringFromDate(date))"
@lfarah sorry for the delayed response, i was on vacation. :sweat_smile:
No problem. You deserve to rest for a bit!
Date Picker is returning n-5 hours