I have a dataset that looks like this

I am trying to combine shift_date with shift_start and shift_end in the same way arrive and leave are done, so that I can compare these two data points.
I have tried lubridate and strptime but maybe the "a.m." instead of "AM" is throwing it off. I also tried other ways of formatting it using %I %p but that also did not work. Any suggestions on how I should try to solve this?