Add ZAR (South African Rand) to currency list (#29620)
This commit is contained in:
parent
3a99f7de64
commit
9d12605154
2 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ const CURRENCY_SYMBOLS: Record<CURRENCY, string> = {
|
|||
USD: "$",
|
||||
DKK: "kr",
|
||||
SEK: "kr",
|
||||
ZAR: "R",
|
||||
};
|
||||
|
||||
// list of currencies where energy price should be displayed in subunits (factor 100)
|
||||
|
|
@ -39,6 +40,7 @@ const ENERGY_PRICE_IN_SUBUNIT: Partial<Record<CURRENCY, string>> = {
|
|||
USD: "¢", // US cent
|
||||
DKK: "øre", // Danish øre
|
||||
SEK: "öre", // Swedish öre
|
||||
ZAR: "c", // South African cent
|
||||
};
|
||||
|
||||
export enum POWER_UNIT {
|
||||
|
|
|
|||
|
|
@ -380,6 +380,7 @@ export enum CURRENCY {
|
|||
USD = "USD",
|
||||
DKK = "DKK",
|
||||
SEK = "SEK",
|
||||
ZAR = "ZAR",
|
||||
}
|
||||
|
||||
export enum ICON_SIZE {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue