fix: recognize yen in currency conversions
This commit is contained in:
@@ -100,6 +100,7 @@ sqrt(144)
|
||||
32 f to c
|
||||
1 GiB to MiB
|
||||
100 USD to DKK
|
||||
1000 yen to DKK
|
||||
0.5 BTC to ETH
|
||||
```
|
||||
|
||||
@@ -109,6 +110,8 @@ Convert length, mass, temperature, volume, duration, speed, area, and data with
|
||||
|
||||
Currency and crypto conversions require internet access and use [currency-api](https://github.com/fawazahmed0/exchange-api). These are **daily rates, not live market prices**; the snapshot date is shown with the answer. Treat them as estimates, not trading or payment quotes. Fetch failures show an error rather than silently using old rates; change the query to retry.
|
||||
|
||||
`yen` is accepted as an alias for `JPY` in either conversion direction, case-insensitively.
|
||||
|
||||
Rates are shared across queries and refreshed on the next currency query after the local day changes. While refreshing, a cached answer remains copyable and is labeled stale. Leaving the query or dismissing the launcher does not cancel that shared refresh.
|
||||
|
||||
`ConjureKit.CurrencyCalculation` owns this lifetime policy; the launcher renders its result. Its checks use an injected clock and scripted rate fetches.
|
||||
|
||||
Reference in New Issue
Block a user