Changing the date format

This commit is contained in:
Maxime NATUREL 2022-12-30 14:27:11 +01:00
parent bc985aa1ef
commit e0b77936c1
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class RoomActivePollsController @Inject constructor(
data.forEach { poll -> data.forEach { poll ->
activePollItem { activePollItem {
id(poll.id) id(poll.id)
formattedDate(host.dateFormatter.format(poll.creationTimestamp, DateFormatKind.EDIT_HISTORY_HEADER)) formattedDate(host.dateFormatter.format(poll.creationTimestamp, DateFormatKind.TIMELINE_DAY_DIVIDER))
title(poll.title) title(poll.title)
clickListener { clickListener {
host.listener?.onPollClicked(poll.id) host.listener?.onPollClicked(poll.id)