chrome-har icon indicating copy to clipboard operation
chrome-har copied to clipboard

Invalid time value

Open CaptBoscho opened this issue 2 years ago • 4 comments

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)

CaptBoscho avatar Aug 23 '23 19:08 CaptBoscho

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?

soulgalore avatar Aug 24 '23 07:08 soulgalore

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

CaptBoscho avatar Aug 24 '23 19:08 CaptBoscho

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

CaptBoscho avatar Aug 28 '23 15:08 CaptBoscho

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

soulgalore avatar Aug 30 '23 05:08 soulgalore