Skip to content

Commit

Permalink
Add lowercase alias for EUR
Browse files Browse the repository at this point in the history
Missed in sharkdp#571
  • Loading branch information
triallax committed Sep 26, 2024
1 parent 4361530 commit 7951856
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/src/list-units.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ and — where sensible — units allow for [binary prefixes](https://en.wikipedi
| `Money` | [Czech koruna](https://en.wikipedia.org/wiki/Czech_koruna) | `czech_koruna`, `czech_korunas`, `CZK`, `czk`, `` |
| `Money` | [Danish krone](https://en.wikipedia.org/wiki/Danish_krone) | `danish_krone`, `danish_kroner`, `DKK`, `dkk` |
| `Money` | [US dollar](https://en.wikipedia.org/wiki/United_States_dollar) | `$`, `dollar`, `dollars`, `USD`, `usd` |
| `Money` | [Euro](https://en.wikipedia.org/wiki/Euro) | `EUR`, `euro`, `euros`, `` |
| `Money` | [Euro](https://en.wikipedia.org/wiki/Euro) | `EUR`, `eur`, `euro`, `euros`, `` |
| `Money` | [Hong Kong dollar](https://en.wikipedia.org/wiki/Hong_Kong_dollar) | `HK$`, `hk$`, `HKD`, `hkd`, `hong_kong_dollar`, `hong_kong_dollars` |
| `Money` | [Hungarian forint](https://en.wikipedia.org/wiki/Hungarian_forint) | `Ft`, `HUF`, `huf`, `hungarian_forint`, `hungarian_forints` |
| `Money` | [Icelandic króna](https://en.wikipedia.org/wiki/Icelandic_króna) | `icelandic_krona`, `icelandic_kronur`, `icelandic_króna`, `icelandic_krónur`, `ISK`, `isk` |
Expand Down
2 changes: 1 addition & 1 deletion numbat/modules/units/currency.nbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dimension Money

@name("Euro")
@url("https://en.wikipedia.org/wiki/Euro")
@aliases(euros, EUR, €: short)
@aliases(euros, EUR, eur, €: short)
unit euro: Money

# See currencies.nbt for non-Euro currencies
1 change: 1 addition & 0 deletions numbat/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ impl Context {
"renminbi",
"元",
"EUR",
"eur",
"euro",
"euros",
"€",
Expand Down

0 comments on commit 7951856

Please sign in to comment.