mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Nitpicks
This commit is contained in:
parent
df0aef1c24
commit
c66c70046d
@ -139,7 +139,7 @@
|
||||
|
||||
"Settings.showChannelBottomButton" = "Channel Bottom Panel";
|
||||
|
||||
"Settings.secondsInMessages" = "Show seconds in messages";
|
||||
"Settings.secondsInMessages" = "Seconds in Messages";
|
||||
|
||||
"Settings.CallConfirmation" = "Call Confirmation";
|
||||
"Settings.CallConfirmation.Notice" = "Swiftgram will ask for your confirmation before making a call.";
|
||||
|
@ -227,6 +227,7 @@ public func stringForDateWithoutDayAndMonth(date: Date, timeZone: TimeZone? = Ti
|
||||
return formatter.string(from: date)
|
||||
}
|
||||
|
||||
// MARK: Swiftgram
|
||||
public func stringForShortTimestampWithSeconds(hours: Int32, minutes: Int32, seconds: Int32, dateTimeFormat: PresentationDateTimeFormat) -> String {
|
||||
switch dateTimeFormat.timeFormat {
|
||||
case .regular:
|
||||
@ -261,3 +262,4 @@ public func stringForShortTimestampWithSeconds(hours: Int32, minutes: Int32, sec
|
||||
return String(format: "%02d:%02d:%02d", arguments: [Int(hours), Int(minutes), Int(seconds)])
|
||||
}
|
||||
}
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user