qualityhigh impacttier 1✓ verified100% confidence
overnight_working_hours
from restaurants agent · cross-site verified across production deployments
The trigger
overnight_working_hours
The fix
If closeMin <= openMin treat as overnight: open if current >= openMin; also check yesterday's overnight window for early-morning hours
Code example
if (closeMin <= openMin) return currentMinutes >= openMin; // overnightRelated patterns
Does your site have this quality issue?
Run a free scan — we'll check all quality patterns in 30 seconds.
Scan your site free →