Add Swiss franc (CHF) and improve Euro currency support

- Add CHF to currency detection patterns in priceParser
- Add getCurrencySymbol helper in notifications service
- Update all frontend price formatting to support CHF
- Swiss francs display as "CHF 29.99" format

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
clucraft 2026-01-22 14:16:01 -05:00
parent c2cec6d4f1
commit 4928d6b9d3
5 changed files with 25 additions and 9 deletions

View file

@ -59,7 +59,7 @@ export default function PriceChart({
};
const currencySymbol =
currency === 'EUR' ? '€' : currency === 'GBP' ? '£' : '$';
currency === 'EUR' ? '€' : currency === 'GBP' ? '£' : currency === 'CHF' ? 'CHF ' : '$';
const chartData = prices.map((p) => ({
date: new Date(p.recorded_at).getTime(),