Skip to content

Commit

Permalink
Revert "Change timezone"
Browse files Browse the repository at this point in the history
This reverts commit 3482acd.
  • Loading branch information
olegsvs committed Oct 4, 2024
1 parent 3482acd commit 7321263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/map/components/TodaysMoves.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Player } from 'utils/types'

export default function TodaysMoves() {
const today = new Date()
const formattedDate = today.toLocaleString().split(',')[0]
const formattedDate = today.toISOString().split('T')[0]

const { data: todaysMoves } = useQuery({
queryKey: ['todaysMoves'],
Expand Down

0 comments on commit 7321263

Please sign in to comment.