mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various fixes
This commit is contained in:
@@ -818,7 +818,7 @@ public final class DatePickerNode: ASDisplayNode {
|
||||
timeSize.height = 36.0
|
||||
self.timeButtonNode.frame = CGRect(x: size.width - timeSize.width - 4.0, y: 4.0, width: timeSize.width, height: timeSize.height)
|
||||
|
||||
let dateString = stringForDate(date: date, timeZone: .current, strings: self.strings)
|
||||
let dateString = stringForMediumDate(timestamp: Int32(date.timeIntervalSince1970), strings: self.strings, dateTimeFormat: self.dateTimeFormat, withTime: false)
|
||||
self.dateButtonNode.setTitle(dateString, with: Font.with(size: 17.0, traits: .monospacedNumbers), with: self.state.displayingDateSelection ? self.theme.accentColor : self.theme.textColor, for: .normal)
|
||||
|
||||
var dateSize = self.dateButtonNode.measure(size)
|
||||
|
||||
Reference in New Issue
Block a user