Skip to content

Commit 410b4f6

Browse files
committed
fix: replace leftover formatIsoDateOnly with toIsoDate
1 parent d6a3880 commit 410b4f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/composables/useCharts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ function splitIsoRangeIntoChunksInclusive(
5656
const actualEnd = cursorEnd.getTime() < finalEnd.getTime() ? cursorEnd : finalEnd
5757

5858
chunks.push({
59-
startIso: formatIsoDateOnly(cursorStart),
60-
endIso: formatIsoDateOnly(actualEnd),
59+
startIso: toIsoDate(cursorStart),
60+
endIso: toIsoDate(actualEnd),
6161
})
6262

6363
cursorStart = addDays(actualEnd, 1)

0 commit comments

Comments
 (0)