How Employee Should Check-In in case of "Multiple Shift Assignments"

My Question is that,
If a Employee is Assigned with two Shifts in a Day, does the Employee need to log-in for Both the Shifts or Attendance is marked for both Shifts based on First Log-in and Last Log-out time
Ex:
There are two shifts 10 am - 5 pm(S1) and 5 pm - 10 pm(S2)

  1. If an Employee is assigned both Shifts, Employee logs-in at 10:05 am and logs-out at 10:10 pm
    then will the Attendance marked in both Shifts
    or
  2. Does Employee need to log-in and log-out in both the Shifts

Yes, employees will have to log in and log out for both shifts.