Skip to content

Commit 47bf5bf

Browse files
authored
fix(lastUpdated): use author date instead of commit date (#2618)
1 parent 789dc16 commit 47bf5bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/node/utils/getGitTimestamp.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export function getGitTimestamp(file: string) {
55
return new Promise<number>((resolve, reject) => {
66
const cwd = dirname(file)
77
const fileName = basename(file)
8-
const child = spawn('git', ['log', '-1', '--pretty="%ci"', fileName], {
8+
const child = spawn('git', ['log', '-1', '--pretty="%ai"', fileName], {
99
cwd
1010
})
1111
let output = ''

0 commit comments

Comments
 (0)