diff --git a/dist/index.js b/dist/index.js index b2cacf3..a4e322e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -25683,7 +25683,7 @@ function getNLatestCommits(dir, n) { author_name: parsed.author_name, author_email: parsed.author_email, repo_path: dir, - date: parsed.date, + date: new Date(parsed.date), message: parsed.message }; }); @@ -25706,7 +25706,7 @@ function getCommitsSinceLatestBeforeGivenDate(dir, date) { author_name: parsed.author_name, author_email: parsed.author_email, repo_path: dir, - date: parsed.date, + date: new Date(parsed.date), message: parsed.message }; }); diff --git a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache index 7fa277c..94b488f 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache and b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/index.js.cache b/node_modules/@vercel/ncc/dist/ncc/index.js.cache index 45ee7e9..8fbd4bd 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/index.js.cache and b/node_modules/@vercel/ncc/dist/ncc/index.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache index 9d91fa8..1288fe6 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache and b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache index afd0cb7..0ad6173 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache and b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache index e0d2380..a5769dc 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache and b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache differ diff --git a/src/git.ts b/src/git.ts index da977be..cf822d9 100644 --- a/src/git.ts +++ b/src/git.ts @@ -33,7 +33,7 @@ export function getNLatestCommits(dir: string, n: number): Commit[] { author_name: parsed.author_name, author_email: parsed.author_email, repo_path: dir, - date: parsed.date, + date: new Date(parsed.date), message: parsed.message } }); @@ -62,7 +62,7 @@ export function getCommitsSinceLatestBeforeGivenDate(dir: string, date: Date): C author_name: parsed.author_name, author_email: parsed.author_email, repo_path: dir, - date: parsed.date, + date: new Date(parsed.date), message: parsed.message } });