[bisq-network/bisq] Fix account age format when ended in 1 (#3857)

Pac notifications at github.com
Sun Jan 5 07:08:03 UTC 2020


The method formatAccountAge is replacing the string "1 days" for "1 day".
This is done to fix the plural for that case.
But it is also changing strings like "21 days" into "21 day".

![image](https://user-images.githubusercontent.com/6444444/71776447-9cb26100-2f70-11ea-8c3d-062870f8e601.png)

![image](https://user-images.githubusercontent.com/6444444/71776441-78ef1b00-2f70-11ea-9f2a-14a760f838f4.png)

You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/3857

-- Commit Summary --

  * Fix account age format when ended in 1

-- File Changes --

    M desktop/src/main/java/bisq/desktop/util/DisplayUtils.java (4)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/3857.patch
https://github.com/bisq-network/bisq/pull/3857.diff

-- 
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/pull/3857
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200104/09490477/attachment.html>


More information about the bisq-github mailing list