summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2023-05-25 12:03:47 +0200
committerCGantert345 <57003061+CGantert345@users.noreply.github.com>2023-05-25 12:03:47 +0200
commit91507261d564cb2a8b7dd338f92d80738d4646f1 (patch)
tree1f762cbbebc0938f6f7a078d7595dfbe25c6fee1 /src/main
parentbug fix on passport validation required (diff)
downloadUIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.tar
UIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.tar.gz
UIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.tar.bz2
UIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.tar.lz
UIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.tar.xz
UIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.tar.zst
UIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.zip
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java2
1 files changed, 1 insertions, 1 deletions
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));