SkySync-EPFL / skysync

1 stars 0 forks source link

Update dateToHourMinuteString to use right timeZone #387

Closed Prolas closed 5 months ago

Prolas commented 5 months ago

Bug

The dateToHourMinuteString function converted a date with the wrong time zone, which led to the display of an incorrect time but did not affect the time stored in the database. This function was used in ConfirmFlightScreen.

Solution

Replace the time zone in use with the time zone of the device in use.

close #362

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
88.9% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud