Merge remote-tracking branch 'upstream/dev' into feature/multi-agent-with-task-parallelization

This commit is contained in:
CREDO23 2026-05-15 16:44:22 +02:00
commit 4980f9f1ba
193 changed files with 32777 additions and 565 deletions

View file

@ -22,3 +22,11 @@ export function formatRelativeDate(dateString: string): string {
if (daysAgo < 7) return `${daysAgo}d ago`;
return format(date, "MMM d, yyyy");
}
/**
* Format a thread's last-updated timestamp for the chats sidebars.
* Example: "Mar 23, 2026 at 4:30 PM"
*/
export function formatThreadTimestamp(dateString: string): string {
return format(new Date(dateString), "MMM d, yyyy 'at' h:mm a");
}