[bisq-network/bisq-desktop] Avoid replacing "21 hours" with "21 hour" (#1549)

AdriaanJoubert notifications at github.com
Mon May 21 20:06:54 UTC 2018


https://github.com/bisq-network/bisq-desktop/blob/323d05802585629f991b78a19d4b230915bf35d1/src/main/java/bisq/desktop/util/BSFormatter.java#L576

There is a bug in this part of the source code where constructions with a digits in the tens position get changed into singular.

# Observed behaviour

Remaining time: 2 days, 21 hour, 28 minutes

# Expected behaviour

Remaining time: 2 days, 21 hour**s**, 28 minutes

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq-desktop/issues/1549
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/github/attachments/20180521/8d53bddb/attachment.html>


More information about the github mailing list