arbret/frontend/app/utils
counterweight 3c13270bc0
Standardize time formatting and avoid string slicing
- Created formatTimeString() utility to properly parse time strings
- Replaced all .slice(0, 5) calls with proper time formatting
- Handles both 'HH:MM:SS' and 'HH:MM' formats safely
- More robust than string slicing
2025-12-21 17:56:20 +01:00
..
appointment.ts Extract duplicate status display logic to shared utility 2025-12-21 17:50:24 +01:00
date.ts Standardize time formatting and avoid string slicing 2025-12-21 17:56:20 +01:00