summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Stasewitsch <alex.stasewitsch@amcon.de>2023-04-26 14:13:09 +0200
committerAlex Stasewitsch <alex.stasewitsch@amcon.de>2023-04-26 14:13:09 +0200
commit534f448e28515e3af58bd19c171b83d139567275 (patch)
tree4837da2308623b65548d9f5c84eeae1695cac2a0
parent+1 for in encoding of month; (diff)
downloadUIC-barcode-534f448e28515e3af58bd19c171b83d139567275.tar
UIC-barcode-534f448e28515e3af58bd19c171b83d139567275.tar.gz
UIC-barcode-534f448e28515e3af58bd19c171b83d139567275.tar.bz2
UIC-barcode-534f448e28515e3af58bd19c171b83d139567275.tar.lz
UIC-barcode-534f448e28515e3af58bd19c171b83d139567275.tar.xz
UIC-barcode-534f448e28515e3af58bd19c171b83d139567275.tar.zst
UIC-barcode-534f448e28515e3af58bd19c171b83d139567275.zip
-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 d4127fb..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) - 1,
+ now.get(Calendar.MONTH) + 1,
now.get(Calendar.YEAR),
now.get(Calendar.HOUR),
now.get(Calendar.MINUTE));