Skip to content

Commit c7c8402

Browse files
author
Michael Mrowetz
committed
#166 don't rely on fist entry being the first
1 parent bced49c commit c7c8402

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ts/transformers/har.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,10 @@ function getPages(data: Har) {
7474
const earliestDate = Date.parse(earliest);
7575
return earliestDate < currDate ? earliest : curr.startedDateTime;
7676
}, data.entries[0].startedDateTime);
77-
console.log(statedTime);
7877
return [{
7978
id: "",
8079
pageTimings: {},
81-
startedDateTime: data.entries[0].startedDateTime,
80+
startedDateTime: statedTime,
8281
title: "n/a",
8382
} as Page];
8483
}

0 commit comments

Comments
 (0)