<p><a href="https://github.com/bisq-network/bisq-desktop/blob/323d05802585629f991b78a19d4b230915bf35d1/src/main/java/bisq/desktop/util/BSFormatter.java#L576">https://github.com/bisq-network/bisq-desktop/blob/323d05802585629f991b78a19d4b230915bf35d1/src/main/java/bisq/desktop/util/BSFormatter.java#L576</a></p>
<p>There is a bug in this part of the source code where constructions with a digits in the tens position get changed into singular.</p>
<h1>Observed behaviour</h1>
<p>Remaining time: 2 days, 21 hour, 28 minutes</p>
<h1>Expected behaviour</h1>
<p>Remaining time: 2 days, 21 hour<strong>s</strong>, 28 minutes</p>

<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-desktop/issues/1549">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZtg0swhbqx7JCQHveY4-xk8-8AMEaks5t0x5egaJpZM4UHiue">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtk2XkWIc7G9VPkbEw06IeEEDJdR9ks5t0x5egaJpZM4UHiue.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-desktop/issues/1549","url":"https://github.com/bisq-network/bisq-desktop/issues/1549","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}</script>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/bisq-desktop","title":"bisq-network/bisq-desktop","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/bisq-desktop"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Avoid replacing \"21 hours\" with \"21 hour\" (#1549)"}],"action":{"name":"View Issue","url":"https://github.com/bisq-network/bisq-desktop/issues/1549"}}}</script>
<script type="application/ld+json">{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "37567f93-e2a7-4e2a-ad37-a9160fc62647",
"title": "Avoid replacing \"21 hours\" with \"21 hour\" (#1549)",
"sections": [
{
"text": "",
"activityTitle": "**AdriaanJoubert**",
"activityImage": "https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png",
"activitySubtitle": "@AdriaanJoubert",
"facts": [
{
"name": "Repository: ",
"value": "bisq-network/bisq-desktop"
},
{
"name": "Issue #: ",
"value": 1549
}
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"bisq-network/bisq-desktop\",\n\"issueId\": 1549,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"bisq-network/bisq-desktop\",\n\"issueId\": 1549\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/bisq-network/bisq-desktop/issues/1549"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 337521566\n}"
}
],
"themeColor": "26292E"
}</script>