Tricky Date Comparison

We tried to repeat a problem we had comparing track dates to trail dates. But we don't see it here. Might only happen before midnight utc?

const bad = (a,b) => Date.parse(a) == Date.parse(b) bad('2022/09/17','Saturday, September 17, 2022')

//wiki.ralfbarkow.ch/assets/pages/snippet-template/basicjs.html?snippet-template HEIGHT 200