Files
Gadgetbridge/app
Ingvar StepanyanandJosé Rebelo 1cfcd0772c Garmin: extract buildExportPath helper in GarminUtils
Three call sites (FileTransferHandler, FitImporter, GarminSupport) each open-coded the same [TYPE]/[YEAR]/[TYPE]_[timestamp]_[suffix] filename shape and re-created their own SimpleDateFormat. Hoist the formatters (now thread-safe DateTimeFormatter) and the path builder into GarminUtils as buildExportPath(type, instant, suffix, ext).

FitImporter's null-type fallback now uses "NULL" consistently for both directory and filename, fixing a latent NPE.
2026-06-06 21:26:51 +02:00
..