Calculate duration from arrival and departure times.

Duration is provided, but at second accuracy while arrival and departure
times are at minute accuracy. We need these to match to get the graphics
right and minute accuracy should be enough.