Skip to content

Commit 737120a

Browse files
authored
Merge pull request #86 from raumobil/fix/issuingDate-in-uHeadRecod
fix(uhead encoding): use 24h hours for encoding
2 parents a469e20 + 4e85c77 commit 737120a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ protected void encodeContent() throws IOException, EncodingFormatException {
257257
now.get(Calendar.DAY_OF_MONTH),
258258
now.get(Calendar.MONTH) + 1,
259259
now.get(Calendar.YEAR),
260-
now.get(Calendar.HOUR),
260+
now.get(Calendar.HOUR_OF_DAY),
261261
now.get(Calendar.MINUTE));
262262

263263

0 commit comments

Comments
 (0)