From 4e85c779aa59ea837d4ef4023ffb618d7fd32f8e Mon Sep 17 00:00:00 2001 From: Tobias Walter Date: Thu, 26 Sep 2024 15:23:54 +0200 Subject: fix(uhead encoding): use 24h hours for encoding --- src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java b/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java index 30777a5..a4424d9 100644 --- a/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java +++ b/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java @@ -257,7 +257,7 @@ public class UHEADDataRecord extends DataRecord{ now.get(Calendar.DAY_OF_MONTH), now.get(Calendar.MONTH) + 1, now.get(Calendar.YEAR), - now.get(Calendar.HOUR), + now.get(Calendar.HOUR_OF_DAY), now.get(Calendar.MINUTE)); -- cgit v1.2.3