Skip to content

Commit

Permalink
Use full time labels in chat history (#226922)
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens authored Aug 28, 2024
1 parent 9647599 commit d1388fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class ChatHistoryAction extends Action2 {

let lastDate: string | undefined = undefined;
const picks = items.flatMap((i): [IQuickPickSeparator | undefined, IChatPickerItem] => {
const timeAgoStr = fromNowByDay(i.lastMessageDate, true);
const timeAgoStr = fromNowByDay(i.lastMessageDate, true, true);
const separator: IQuickPickSeparator | undefined = timeAgoStr !== lastDate ? {
type: 'separator', label: timeAgoStr,
} : undefined;
Expand Down

0 comments on commit d1388fd

Please sign in to comment.