wip: black

pull/7432/head
Frank 2026-01-08 19:44:31 -05:00
parent 790baec41f
commit 2e875b2d65
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
export function getWeekBounds(date: Date) {
const dayOfWeek = date.getUTCDay()
const start = new Date(date)
start.setUTCDate(date.getUTCDate() - dayOfWeek)
start.setUTCDate(date.getUTCDate() - dayOfWeek + 1)
start.setUTCHours(0, 0, 0, 0)
const end = new Date(start)
end.setUTCDate(start.getUTCDate() + 7)