mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 19:21:33 +02:00
Two bugs in the inventory page: 1. Dates always displayed as DD/MM/YY regardless of the user's date format setting. The page had a local formatDate() hardcoding en-GB locale. Replaced with the shared formatDateOnly() from utils/date.ts. 2. AMS-HT slot locations showed accented characters (e.g., "Á1") instead of proper labels (e.g., "HT-A"). The code used String.fromCharCode(65 + ams_id), which produces garbled chars for AMS-HT IDs (128+). Now uses the shared formatSlotLabel() from utils/amsHelpers.ts.