Refactor Location#adjust_times with a Proc