Skip to content

Commit

Permalink
fix: revert debug change for getting local day start
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorKhramtsov committed Oct 19, 2024
1 parent c63f36e commit 4b03a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/dateUtils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const getLocalDayStart = (): Date => {
const now = new Date()
// Set the date to local midnight
return new Date(now.getFullYear(), now.getMonth(), now.getDate() - 2)
return new Date(now.getFullYear(), now.getMonth(), now.getDate())
}

export const getLocalStartOfDayInUTCString = (): string => {
Expand Down

0 comments on commit 4b03a6f

Please sign in to comment.