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

main
lyingbug 2026-09-22 22:48:43 +08:00 committed by GitHub
parent 6afb6ca9d5
commit b57c362667
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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')">