mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-06 21:22:44 +00:00
Account for GMT offset
This commit is contained in:
@@ -488,7 +488,7 @@ private final class TimeSelectionControlComponent: Component {
|
||||
return
|
||||
}
|
||||
|
||||
let timestamp = Int32(strongSelf.pickerView.date.timeIntervalSince1970)
|
||||
let timestamp = Int32(strongSelf.pickerView.date.timeIntervalSince1970 - Double(TimeZone.current.secondsFromGMT()))
|
||||
component.apply(timestamp)
|
||||
}
|
||||
)),
|
||||
|
||||
Reference in New Issue
Block a user