Skip to content

Commit

Permalink
12 * 31 = 372
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Sep 6, 2024
1 parent 27bc09c commit 109c7ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/QuantumVolumeChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function dayIndexInEpoch(dateString) {
// It doesn't need to be exact; it just needs to be unique and maintain order.
var [year, month, date] = dateString.split("-").map(Number)

return (year - 1960) * 366 + (month - 1) * 32 + date
return (year - 1960) * 372 + (month - 1) * 31 + date
}

function barplot (
Expand Down

0 comments on commit 109c7ca

Please sign in to comment.