cherry-studio/src
Ying-xi f69ea8648c
fix: display updated timestamp when available in knowledge base (#7453)
* fix: display updated timestamp when available in knowledge base

- Add updated_at field when creating knowledge items
- Show updated_at timestamp if it's newer than created_at
- Fallback to created_at if updated_at is not available or older

Fixes #4587

Signed-off-by: Ying-xi <62348590+Ying-xi@users.noreply.github.com>

* refactor(knowledge): extract display time logic into a reusable function

Signed-off-by: Ying-xi <62348590+Ying-xi@users.noreply.github.com>

---------

Signed-off-by: Ying-xi <62348590+Ying-xi@users.noreply.github.com>
2025-06-24 00:06:52 +08:00
..
main feat(ContextMenu): add spell check and dictionary suggestions to context menu (#7067) 2025-06-23 21:19:21 +08:00
preload feat(ContextMenu): add spell check and dictionary suggestions to context menu (#7067) 2025-06-23 21:19:21 +08:00
renderer fix: display updated timestamp when available in knowledge base (#7453) 2025-06-24 00:06:52 +08:00