|
|
@ -24,7 +24,7 @@ export class CommitResultsNode extends ExplorerNode { |
|
|
|
} |
|
|
|
|
|
|
|
async getTreeItem(): Promise<TreeItem> { |
|
|
|
const label = CommitFormatter.fromTemplate(`Commit \${sha} ${Strings.pad(GlyphChars.Dash, 1, 1)} \${authorAgo}`, this.commit, Container.config.defaultDateFormat); |
|
|
|
const label = CommitFormatter.fromTemplate(`Commit \${sha} ${Strings.pad(GlyphChars.Dash, 1, 1)} \${authorAgoOrDate}`, this.commit, Container.config.defaultDateFormat); |
|
|
|
const item = new TreeItem(label, TreeItemCollapsibleState.Expanded); |
|
|
|
item.contextValue = this.contextValue; |
|
|
|
return item; |
|
|
|