loopandlearn / LoopFollow

A general Follow app for parents of T1D Loop Users
GNU Affero General Public License v3.0
99 stars 494 forks source link

Fix date parsing issue for 12/24-hour formats #275

Closed bjorkert closed 3 months ago

bjorkert commented 3 months ago

Overview

This PR addresses a bug where the date parsing in NightscoutUtils fails when the device is set to a 12-hour time format. The issue stems from the DateFormatter not being explicitly set to a locale that supports 24-hour time formats, which can lead to inconsistencies based on the user's device settings.

Changes