Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 031f5c47 authored by Philipp Heckel's avatar Philipp Heckel
Browse files

Short, local date format in locale form

parent bd8d6199
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ class DetailAdapter(private val activity: Activity, private val repository: Repo
            val context = itemView.context
            val unmatchedTags = unmatchedTags(splitTags(notification.tags))

            dateView.text = Date(notification.timestamp * 1000).toString()
            dateView.text = formatDateShort(notification.timestamp)
            messageView.text = formatMessage(notification)
            newDotImageView.visibility = if (notification.notificationId == 0) View.GONE else View.VISIBLE
            itemView.setOnClickListener { onClick(notification) }