mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-25 11:26:47 +01:00
Fixed wrong parameter. Time is set in 24-hour format.
This commit is contained in:
parent
f8473ac42d
commit
c97136e4fe
@ -282,7 +282,7 @@ public class No1F1Support extends AbstractBTLEDeviceSupport {
|
|||||||
(byte) (c.get(Calendar.YEAR) % 256),
|
(byte) (c.get(Calendar.YEAR) % 256),
|
||||||
(byte) (c.get(Calendar.MONTH) + 1),
|
(byte) (c.get(Calendar.MONTH) + 1),
|
||||||
(byte) c.get(Calendar.DAY_OF_MONTH),
|
(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.MINUTE),
|
||||||
(byte) c.get(Calendar.SECOND)
|
(byte) c.get(Calendar.SECOND)
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user