Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

fix(chat): show full date for older message timestamps (#3576)

lyingbugb57c362667e2
diff --git a/frontend/src/views/chat/components/usermsg.vue b/frontend/src/views/chat/components/usermsg.vue
index 20bd70666..98ab579ad 100644
--- a/frontend/src/views/chat/components/usermsg.vue
+++ b/frontend/src/views/chat/components/usermsg.vue
@@ -45,7 +45,7 @@
</div>
<div v-if="timestamp || content || canFork || canRewind" class="user_msg_meta">
<time v-if="timestamp" class="user_msg_time" :datetime="timestamp.datetime" :title="fullTimestamp">
- {{ timestamp.time }}
+ {{ timestamp.kind === 'today' ? timestamp.time : fullTimestamp }}
</time>
<div v-if="content || canFork || canRewind" class="user_msg_actions">
<t-tooltip v-if="content" :content="t('agent.copy')">