Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,7 @@ pub mod test_utils {
"AUD" => 1.3,
"PLN" => 0.2,
"JPY" => 149.9,
"TRY" => 0.03,
_ => panic!("unknown currency {currency}"),
})
}
Expand Down
2 changes: 2 additions & 0 deletions core/src/units/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,8 @@ const CURRENCIES: &[UnitTuple] = &[
("NZ$", "NZ$", "NZD", ""),
("zł", "zł", "PLN", ""), // the local abbreviation for PLN, see https://en.wikipedia.org/wiki/Polish_z%C5%82oty
("zl", "zl", "PLN", ""),
("₺", "₺", "TRY", ""), // Turkish Lira symbol, see https://en.wikipedia.org/wiki/Turkish_lira
("TL", "TL", "TRY", ""), // Turkish Lira abbreviation, see https://en.wikipedia.org/wiki/Turkish_lira
];

const HISTORICAL_UNITS: &[UnitTuple] = &[
Expand Down
Loading