<p>When attempting to lock up a bond, the confirmation prompt was showing an incorrect estimated time:<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/603793/57958906-56f83980-78b6-11e9-9465-fa4bd0301432.png"><img src="https://user-images.githubusercontent.com/603793/57958906-56f83980-78b6-11e9-9465-fa4bd0301432.png" alt="image" style="max-width:100%;"></a></p>
<p>This PR fixes the estimated time:<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/603793/57958915-5c558400-78b6-11e9-91b2-8d9e2427d2c7.png"><img src="https://user-images.githubusercontent.com/603793/57958915-5c558400-78b6-11e9-91b2-8d9e2427d2c7.png" alt="image" style="max-width:100%;"></a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/2844'>https://github.com/bisq-network/bisq/pull/2844</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Fix formatDurationAsWords when duration is multiple of 10 days</li>
  <li>Add more tests for formatDurationAsWords</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/2844/files#diff-0">core/src/main/java/bisq/core/util/BSFormatter.java</a>
    (11)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/2844/files#diff-1">desktop/src/test/java/bisq/desktop/util/BSFormatterTest.java</a>
    (7)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/2844.patch'>https://github.com/bisq-network/bisq/pull/2844.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/2844.diff'>https://github.com/bisq-network/bisq/pull/2844.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/2844?email_source=notifications&email_token=AJFFTNTMHHQ52TVPZPY4AHTPV44QBA5CNFSM4HNY63R2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUQCGUQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNUKCRPYXSDWW5NYHD3PV44QBANCNFSM4HNY63RQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AJFFTNWLA3QJAL6DQQYYSDLPV44QBA5CNFSM4HNY63R2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUQCGUQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/2844?email_source=notifications\u0026email_token=AJFFTNTMHHQ52TVPZPY4AHTPV44QBA5CNFSM4HNY63R2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUQCGUQ",
"url": "https://github.com/bisq-network/bisq/pull/2844?email_source=notifications\u0026email_token=AJFFTNTMHHQ52TVPZPY4AHTPV44QBA5CNFSM4HNY63R2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUQCGUQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>