There was an error while loading. Please reload this page.
1 parent c8fa981 commit 72e2d39Copy full SHA for 72e2d39
1 file changed
app/src/main/java/com/bnyro/contacts/presentation/screens/sms/components/Message.kt
@@ -223,13 +223,10 @@ fun ChatItemBubble(
223
Text(
224
style = MaterialTheme.typography.bodyMedium,
225
color = textColor,
226
- text = DateUtils.getRelativeDateTimeString(
+ text = TextUtils.formatDateTimestamp(
227
LocalContext.current,
228
message.timestamp,
229
- DateUtils.MINUTE_IN_MILLIS,
230
- DateUtils.WEEK_IN_MILLIS,
231
- DateUtils.FORMAT_ABBREV_ALL
232
- ).split(", ")[1]
+ )
233
)
234
message.simNumber?.let {
235
0 commit comments