Skip to content

Commit 820f4cb

Browse files
committed
Remove a problematic piece of code that looked for commit dates
1 parent b70c465 commit 820f4cb

File tree

3 files changed

+3077
-1948
lines changed

3 files changed

+3077
-1948
lines changed

data/ros-central-registry

data/utils.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,12 @@ const getSubmissionCommitOfVersionInternal = async (
9999
const commits = await gitlogPromise(options)
100100

101101
const commitInfo = commits[commits.length - 1] as any
102-
const authorDateIso = formatISO(
103-
parse(commitInfo.authorDate, 'yyyy-MM-dd HH:mm:ss xxxx', new Date())
104-
)
102+
const myDate = new Date();
103+
const authorDateIso = formatISO(myDate);
104+
105+
// const authorDateIso = formatISO(
106+
// parse(commitInfo?.authorDate, 'yyyy-MM-dd HH:mm:ss xxxx', new Date())
107+
// )
105108
return {
106109
...commitInfo,
107110
authorDateIso,

0 commit comments

Comments
 (0)