From 91507261d564cb2a8b7dd338f92d80738d4646f1 Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Thu, 25 May 2023 12:03:47 +0200 Subject: fix on head with wrong month --- src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java b/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java index 31a664b..30777a5 100644 --- a/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java +++ b/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java @@ -255,7 +255,7 @@ public class UHEADDataRecord extends DataRecord{ String timeElement = String.format("%02d%02d%04d%02d%02d", now.get(Calendar.DAY_OF_MONTH), - now.get(Calendar.MONTH), + now.get(Calendar.MONTH) + 1, now.get(Calendar.YEAR), now.get(Calendar.HOUR), now.get(Calendar.MINUTE)); -- cgit v1.2.3