mirror of
https://github.com/itsnaveenk/bazar3.git
synced 2025-12-19 17:57:06 +00:00
Fix date comparison in getDailyResults to use original result_time
This commit is contained in:
parent
08875a26fe
commit
e5ba708595
@ -124,7 +124,7 @@ exports.getDailyResults = async (date) => {
|
||||
END AS visible_result
|
||||
FROM results r
|
||||
JOIN teams t ON r.team_id = t.id
|
||||
WHERE DATE(CONVERT_TZ(r.result_time, 'UTC', '+05:30')) = ?
|
||||
WHERE DATE(r.result_time) = ?
|
||||
ORDER BY r.result_time DESC
|
||||
`, [date]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user