Skip to content

Commit 35c18e3

Browse files
CRNS-62: Fixing date in MessageSystem
Fixes #117
1 parent 18a06ef commit 35c18e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/MessageSystem.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ const MessageSystem = ({ message }) => (
5151
<TextContainer>
5252
<Text>{message.text.toUpperCase()}</Text>
5353
<DateText>
54-
{Moment(message.received_at)
54+
{Moment(message.created_at)
5555
.format('dddd')
5656
.toUpperCase()}{' '}
5757
at{' '}
58-
{Moment(message.received_at)
58+
{Moment(message.created_at)
5959
.format('hh:mm A')
6060
.toUpperCase()}
6161
</DateText>

0 commit comments

Comments
 (0)