When an employee records their working time with the virtual time clock and does not stop it at the end of their shift, it is automatically stopped at midnight. For night shifts, you can adjust the Stop time clock at midnight option in the time tracking settings.
Break rules are not applied
Break rules are only applied to calendar days. They do not work for shifts that extend past midnight, because break rules cannot be unambiguously assigned to working time spanning multiple calendar days.
Warning: For night shifts, break rules cannot be applied automatically, and no breaks are added automatically. Employees working night shifts should always clock their own breaks.