Skip to content

Commit 10cf396

Browse files
committed
Fix broken graph link due to missing date formatting
1 parent 65b43ae commit 10cf396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/frontend/src/pages/compare/compile/table/benchmark-detail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function graphLink(
258258
testCase: CompileTestCase
259259
): string {
260260
// Move to `30 days ago` to display history of the test case
261-
const start = getPastDate(new Date(commit.date), 30);
261+
const start = formatDate(getPastDate(new Date(commit.date), 30));
262262
const end = commit.commit;
263263
const {benchmark, profile, scenario} = testCase;
264264
return `/index.html?start=${start}&end=${end}&benchmark=${benchmark}&profile=${profile}&scenario=${scenario}&stat=${metric}`;

0 commit comments

Comments
 (0)