diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2023-05-25 12:03:47 +0200 |
---|---|---|
committer | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2023-05-25 12:03:47 +0200 |
commit | 91507261d564cb2a8b7dd338f92d80738d4646f1 (patch) | |
tree | 1f762cbbebc0938f6f7a078d7595dfbe25c6fee1 | |
parent | bug fix on passport validation required (diff) | |
download | UIC-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 '')
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ <modelVersion>4.0.0</modelVersion>
<groupId>org.uic.barcode</groupId>
<artifactId>org.uic.barcode</artifactId>
- <version>1.4.0</version>
+ <version>1.4.1</version>
<packaging>jar</packaging>
<name>UIC barcode</name>
<description>encoding and decoding of Aztec barcode content according to UIC IRS 90918-9</description>
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));
|