flyerhq / flutter_firebase_chat_core

Actively maintained, community-driven Firebase BaaS for chat applications with an optional chat UI.
https://flyer.chat
Apache License 2.0
267 stars 212 forks source link

Customizing Timestamp and Date Display in Firebase Chat Core #132

Open unyang09 opened 3 months ago

unyang09 commented 3 months ago

Hi,

I’m working on a chat application using Firebase Chat Core and I would like to customize the appearance of the timestamps and date separators as shown in the attached image. Specifically, I want to:

1.  Display the date in a custom format above the chat bubbles (e.g., “2024-8-6 tue”).
2.  Show timestamps within the chat bubbles in a custom format.
3.  Customize the style of the date and time display, including font size, color, and positioning.

Could you provide guidance or examples on how to achieve this level of customization with Firebase Chat Core?

Thank you!

(Image url) https://github.com/user-attachments/assets/1bf3c6f2-a8c2-4aec-b111-b52690ecf4a4

![Uploading IMG_1973.jpeg…]()

demchenkoalex commented 3 months ago

Hey - all of this is not possible :/ I am working on a complete redesign with v2 and will try to add more date customisation options as this is a highly requested feature. This is a purely UI issue https://github.com/flyerhq/flutter_chat_ui/ btw, not related to the firebase core (this package will be discontinued)