Skip to content

Support date formatter ChannelLastMessageDate #2312

@thecodepapaya

Description

@thecodepapaya

Please select which package this feature is related to

stream_chat_flutter

Which platforms would this feature impact?

Android

Is your feature request related to a problem?

Right now the date format in ChannelLastMessageDate follows MM/DD/YYYY via Jiffy.yMd by default. But we'd like to show date as DD/MM/YYYY format. There's no way to customize the date format without copying the library code and re-implementing ChannelLastMessageDate. StreamTimestamp already accepts a DateFormatter formatter.

Describe the solution that you'd like

Add parameter to ChannelLastMessageDate which passes DateFormatter formatter down to StreamTimestamp.

Describe alternatives that you have considered

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions