Skip to content

Commit 19a7867

Browse files
authored
Fix pinned messages view not using relative time formatter (#946)
* Fix pinned messages view not using relative time fomatter * Update CHANGELOG.md
1 parent 15a3f5d commit 19a7867

File tree

6 files changed

+2
-1
lines changed

6 files changed

+2
-1
lines changed

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
88
### 🐞 Fixed
99
- Long message with a link preview was truncated sometimes [#940](https://github.com/GetStream/stream-chat-swiftui/pull/940)
1010
- Fix quoted message shown in the composer when editing a quoting message [#943](https://github.com/GetStream/stream-chat-swiftui/pull/943)
11+
- Fix pinned messages view not using relative time formatter [#946](https://github.com/GetStream/stream-chat-swiftui/pull/946)
1112

1213
# [4.87.0](https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.87.0)
1314
_September 01, 2025_

β€ŽSources/StreamChatSwiftUI/ChatChannel/ChannelInfo/PinnedMessagesView.swiftβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ struct PinnedMessageView<Factory: ViewFactory>: View {
132132
Spacer()
133133

134134
SubtitleText(
135-
text: utils.dateFormatter.string(from: message.createdAt)
135+
text: utils.messageRelativeDateFormatter.string(from: message.createdAt)
136136
)
137137
}
138138
}
-742 Bytes
Loading
-764 Bytes
Loading
-692 Bytes
Loading
-770 Bytes
Loading

0 commit comments

Comments
Β (0)