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

The DateSeparator not follow DateFormatter #5584

Open
quangchien99 opened this issue Jan 24, 2025 · 0 comments
Open

The DateSeparator not follow DateFormatter #5584

quangchien99 opened this issue Jan 24, 2025 · 0 comments

Comments

@quangchien99
Copy link

quangchien99 commented Jan 24, 2025

In the ChannelList screen (Image 1) -> the date for last message is display ok based on the DateFormatter.
However, in the MessageList screen (Image 2) -> the Date Separator is display differently ("4 days ago" instead of "Monday")

Image

I checked the code in the SDK, the DefaultMessageDateSeparatorContent currently using DateUtils.getRelativeTimeSpanString to format the content.

Image

Can the SDK make Date Separator follow DateFormatter or expose another Date Separator Formatter to custom?

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

No branches or pull requests

1 participant