Add ZAR (South African Rand) to currency list (#29620)

This commit is contained in:
Copilot 2026-05-06 08:50:42 +02:00 • committed by GitHub
parent 3a99f7de64
commit 9d12605154
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -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 {

View file

@ -380,6 +380,7 @@ export enum CURRENCY {
USD = "USD",
DKK = "DKK",
SEK = "SEK",
ZAR = "ZAR",
}
export enum ICON_SIZE {