1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-04 12:02:06 +02:00

Fixed wrong parameter. Time is set in 24-hour format.

This commit is contained in:
protomors 2017-09-01 20:32:25 +03:00 committed by Andreas Shimokawa
parent f8473ac42d
commit c97136e4fe

View File

@ -282,7 +282,7 @@ public class No1F1Support extends AbstractBTLEDeviceSupport {
(byte) (c.get(Calendar.YEAR) % 256),
(byte) (c.get(Calendar.MONTH) + 1),
(byte) c.get(Calendar.DAY_OF_MONTH),
(byte) c.get(Calendar.HOUR),
(byte) c.get(Calendar.HOUR_OF_DAY),
(byte) c.get(Calendar.MINUTE),
(byte) c.get(Calendar.SECOND)
};