1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

6 Commits

Author SHA1 Message Date
Chris Cummer
520126a821 WTF-897 Wrap exchange rate error messages for easier viewing
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-07-24 09:20:27 -07:00
Chris Cummer
6d26946986 WTF-897 Exchange Rate improvements
Allows the user to set the precision for their exchange rate values.

Config setting:
```
exchangerates:
  precision: 3
```

Default is `7`.

Also aligns converted values along the decimal place for improved
aesthetics.

Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-07-23 10:57:29 -07:00
Chris Cummer
72619a99a4 handle multiple conversions per base currency
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-03-20 19:46:27 -07:00
Indradhanush Gupta
62e3523d29 modules/exchangerate: Display exchange rate for one unit of base currency 2020-03-16 20:23:15 +05:30
Toon Schoenmakers
c8a14e7685 Keep an initial order of the currencies so they won't be in a different order after refreshing (#752)
This purely happend due to maps not keeping the order items are in. This way
it at least won't change throughout the runtime of wtfutil. Ideally it would
use and keep the order as specified by the user in the configuration but
right now there is no way to enforce this.
2019-11-16 19:47:52 -08:00
Toon Schoenmakers
244a86cb7e Implemented a module that shows exchange rates from exchangeratesapi.io 2019-11-12 18:06:45 +01:00