mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-28 22:25:54 +00:00
simplify
This commit is contained in:
+1
-1
@@ -2429,7 +2429,7 @@ fun getDateText(t: Instant): String {
|
||||
val weekday = time.toJavaLocalDateTime().format(DateTimeFormatter.ofPattern("EEE", Locale.getDefault()))
|
||||
val dayMonth = time.toJavaLocalDateTime().format(DateTimeFormatter.ofPattern("d MMM", Locale.getDefault()))
|
||||
|
||||
return String.format("%s, %s", weekday, dayMonth)
|
||||
return "$weekday, $dayMonth"
|
||||
}
|
||||
|
||||
fun getTimestampText(t: Instant, shortFormat: Boolean = false): String {
|
||||
|
||||
Reference in New Issue
Block a user