sitespeedio / chrome-har

Create HAR files from Chrome Debugging Protocol data
MIT License
150 stars 50 forks source link

Invalid time value #110

Open CaptBoscho opened 1 year ago

CaptBoscho commented 1 year ago

On version 0.13.2, getting this error fairly consistently:

RangeError: Invalid time value at Date.toISOString () at M.m.toISOString (/app/node_modules/chrome-har/node_modules/dayjs/dayjs.min.js:1:6270) at module.exports (/app/node_modules/chrome-har/lib/entryFromResponse.js:185:53) at harFromMessages (/app/node_modules/chrome-har/index.js:410:15)

soulgalore commented 1 year ago

Hi @CaptBoscho thanks for creating the issue, I haven't seen that one. What Chrome version are you using and can you please share the trace from Chrome so I can reproduce it?

CaptBoscho commented 1 year ago

We are on version 115.0.5790.98-1. I will try to get those chrome traces

CaptBoscho commented 1 year ago

So I'm unable to share the traces due to sensitive information, but I did find what looks like a related issue with the dayjs library https://github.com/iamkun/dayjs/issues/2430

soulgalore commented 1 year ago

So in your case you also get the date in capital letters is that correct?