Fixed duration calculation in the job page.

Testing Done:
Tested locally on laptop. Attached screenshot.

Bugs closed: AURORA-411

Reviewed at https://reviews.apache.org/r/21354/