summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Stasewitsch <alex.stasewitsch@amcon.de>2023-04-26 10:08:11 +0200
committerAlex Stasewitsch <alex.stasewitsch@amcon.de>2023-04-26 10:08:11 +0200
commita074664bd65c9c6b383b50ee44eaae4586b17bca (patch)
tree6dea6cd1a862a686142d737f81b4fc50b305b88e /src
parentMerge pull request #60 from UnionInternationalCheminsdeFer/ssb-barcodes (diff)
downloadUIC-barcode-a074664bd65c9c6b383b50ee44eaae4586b17bca.tar
UIC-barcode-a074664bd65c9c6b383b50ee44eaae4586b17bca.tar.gz
UIC-barcode-a074664bd65c9c6b383b50ee44eaae4586b17bca.tar.bz2
UIC-barcode-a074664bd65c9c6b383b50ee44eaae4586b17bca.tar.lz
UIC-barcode-a074664bd65c9c6b383b50ee44eaae4586b17bca.tar.xz
UIC-barcode-a074664bd65c9c6b383b50ee44eaae4586b17bca.tar.zst
UIC-barcode-a074664bd65c9c6b383b50ee44eaae4586b17bca.zip
Diffstat (limited to 'src')
-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..d4127fb 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));