Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:fixed chat date separator issue on day's first message #1209

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sachin-into
Copy link
Collaborator

fix #1190

Copy link

netlify bot commented Apr 16, 2024

Deploy Preview for teritori-dapp ready!

Name Link
🔨 Latest commit 9a33f0c
🔍 Latest deploy log https://app.netlify.com/sites/teritori-dapp/deploys/666137a8a93b6e000868a315
😎 Deploy Preview https://deploy-preview-1209--teritori-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 16, 2024

Deploy Preview for testitori ready!

Name Link
🔨 Latest commit 9a33f0c
🔍 Latest deploy log https://app.netlify.com/sites/testitori/deploys/666137a86c2ffa0008ce8448
😎 Deploy Preview https://deploy-preview-1209--testitori.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

? moment(item.timestamp).format("DD/MM/YYYY") !==
moment(previousMessage.timestamp).format("DD/MM/YYYY") &&
item.timestamp
? moment(item.timestamp).format("DD/MM/YYYY") ===
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not rely on whatever the user locale is set?
I think that's more natural

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chat : Day's first message grouping issue
2 participants