react-chatbot-kit icon indicating copy to clipboard operation
react-chatbot-kit copied to clipboard

How to display date and time under messages ?

Open oceanedruenne opened this issue 1 year ago • 4 comments

Hello ! I am currently working on a ChatBot with this library and I would like to add, under every message (not in the message, but under the bubble), the date and time of the sent message (but it has to be the locale date of the person who's chatting with the bot)

Like, as we can see here : Capture d’écran du 2023-12-06 13-52-05 I would like to add the date and time in the red frame : POC - TEXT CLASSIFICATION PHP

But I don't know how to do it. The best I did was to add the date in the message directly but this is not what I want.

Thank you so much !

Best regards,

Ocean

oceanedruenne avatar Dec 06 '23 12:12 oceanedruenne

@oceanedruenne You can create a widget that shows time & date and add it to the bot as well as the user message.

harshdetroja avatar Mar 20 '24 09:03 harshdetroja

Hi, where you able to achieve this functionality, even I am struggling with the same

GukeshChess avatar Apr 24 '24 17:04 GukeshChess

@oceanedruenne , @GukeshChess - Do you have any solution on how to display date and time under messages?. Thanks in advance

AlphaLion92 avatar Jul 17 '24 19:07 AlphaLion92

@AlphaLion92 Hello ! Thanks for your message! I still haven't managed to display the date and time under the posts, but my team finally told me it wasn't necessary anymore so I don't think I'll keep working on it.

oceanedruenne avatar Jul 18 '24 07:07 oceanedruenne