# Customizing the timestamp

**URL:** <https://community.sendbird.com/t/customizing-the-timestamp/4007>\
**Category:** React\
**Tags:** feature-request, javascript, uikit\
**Created:** [February 22, 2022, 9:41pm UTC](https://community.sendbird.com/t/customizing-the-timestamp/4007 "2022-02-22T21:41:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zschnell](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/zschnell/32/2108_2.png) [@zschnell](https://community.sendbird.com/u/zschnell)\
**Post date:** [February 22, 2022, 9:41pm UTC](https://community.sendbird.com/t/customizing-the-timestamp/4007/1 "2022-02-22T21:41:54Z")

</div>

We’re using the renderChatItem prop in the component, and we want to include timestamps between messages (but only if a certain amount of time passed between messages).

Could you pass previousMessage to renderChatItem so that the callback has access to the previous  
message (and, therefore, the previous message’s sender / timestamp)?

Relevant line here: [sendbird-uikit-react/ConversationScroll.jsx at main · sendbird/sendbird-uikit-react · GitHub](https://github.com/sendbird/sendbird-uikit-react/blob/main/src/smart-components/Conversation/components/ConversationScroll.jsx#L162)

---

<div class="post-metadata">

**Author:** ![Dhaval\_Patel](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/dhaval_patel/32/1956_2.png) [@Dhaval\_Patel](https://community.sendbird.com/u/Dhaval_Patel)\
**Post date:** [February 25, 2022, 8:44pm UTC](https://community.sendbird.com/t/customizing-the-timestamp/4007/4 "2022-02-25T20:44:07Z")

</div>

Hi @zschnell,

I apologize for late response. I will discuss this usecase with our engineering team and let you know of our findings. Meanwhile if you have any other questions please let us know.

Best,  
Dhaval.

---

<div class="post-metadata">

**Author:** ![Dhaval\_Patel](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/dhaval_patel/32/1956_2.png) [@Dhaval\_Patel](https://community.sendbird.com/u/Dhaval_Patel)\
**Post date:** [April 7, 2022, 8:09pm UTC](https://community.sendbird.com/t/customizing-the-timestamp/4007/6 "2022-04-07T20:09:26Z")

</div>

Hi @zschnell,

I will add this to our feature request list and let you know if there is any further update. Please let us know if you have any other questions.

Best,  
Dhaval.
