diff --git a/Sources/ChatUI/ChatInChannel/MessageDateView.swift b/Sources/ChatUI/ChatInChannel/MessageDateView.swift index f907464..16f2297 100644 --- a/Sources/ChatUI/ChatInChannel/MessageDateView.swift +++ b/Sources/ChatUI/ChatInChannel/MessageDateView.swift @@ -21,7 +21,7 @@ public struct MessageDateView: View { } public init(message: MessageType) { - self.date = Date(timeIntervalSince1970: message.sentAt / 1000) + self.date = Date(timeIntervalSince1970: message.sentAt) } } diff --git a/Sources/ChatUI/ChatInChannel/MessageList.swift b/Sources/ChatUI/ChatInChannel/MessageList.swift index 597488c..282d2a7 100644 --- a/Sources/ChatUI/ChatInChannel/MessageList.swift +++ b/Sources/ChatUI/ChatInChannel/MessageList.swift @@ -146,7 +146,7 @@ public struct MessageList