We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a552325 commit 9a33f0cCopy full SHA for 9a33f0c
packages/screens/Mini/Conversation/components/Conversations.tsx
@@ -144,7 +144,7 @@ export const Conversations = ({
144
},
145
]}
146
>
147
- {moment(separatorDate).format("YYYY, MMM DD")}
+ {moment(separatorDate).format("L")}
148
</BrandText>
149
</View>
150
);
@@ -167,8 +167,8 @@ export const Conversations = ({
167
index < messages.length - 1 ? messages[index + 1] : undefined;
168
169
const separatorDate = previousMessage
170
- ? moment(item.timestamp).format("DD/MM/YYYY") ===
171
- moment(previousMessage.timestamp).format("DD/MM/YYYY")
+ ? moment(item.timestamp).format("L") ===
+ moment(previousMessage.timestamp).format("L")
172
? false
173
: item?.timestamp
174
: item.timestamp;
0 commit comments