dylan-smith / DiveIntelligence

1 stars 1 forks source link

BUG: total dive time incorrect #199

Closed dylan-smith closed 1 week ago

dylan-smith commented 1 week ago

On the add dive segment page the total dive time displayed at the bottom is incorrect.

Repro Steps

  1. Plan a new dive, starting gas doesn't matter
  2. Add segment, depth 18m, same gas, time at depth 0m
  3. Add segment, depth 100m, same gase, time at depth 20m

total dive time should display as 25m but it is displaying as 26m 48s.