<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Rick,<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Am 24.11.2016 um 04:10 schrieb Rick Walsh <<a href="mailto:rickmwalsh@gmail.com" class="">rickmwalsh@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">One question: is there a reason why we can't access displayed_dive.dc.duration.seconds instead of creating a new function to iterate through all the data points to get the runtime?</span></div></blockquote></div><br class=""></div><div class="">I found that displayed_dive.dc.duration.seconds as well as displayed_dive.duration.seconds at least sometimes is still 0 at the time when the notes are assembled. I did not investigate this further (maybe I should), but rather wrote this helper function to compute it from the struct diveplan.</div><div class=""><br class=""></div><div class="">Best</div><div class="">Robert</div></body></html>