summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/uic/barcode
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2023-05-25 13:12:16 +0200
committerGitHub <noreply@github.com>2023-05-25 13:12:16 +0200
commita32b863cfcf827751e0c2a4e072bc9cc79de6e47 (patch)
tree4837da2308623b65548d9f5c84eeae1695cac2a0 /src/main/java/org/uic/barcode
parentMerge pull request #60 from UnionInternationalCheminsdeFer/ssb-barcodes (diff)
parent-1 -> +1; (diff)
downloadUIC-barcode-a32b863cfcf827751e0c2a4e072bc9cc79de6e47.tar
UIC-barcode-a32b863cfcf827751e0c2a4e072bc9cc79de6e47.tar.gz
UIC-barcode-a32b863cfcf827751e0c2a4e072bc9cc79de6e47.tar.bz2
UIC-barcode-a32b863cfcf827751e0c2a4e072bc9cc79de6e47.tar.lz
UIC-barcode-a32b863cfcf827751e0c2a4e072bc9cc79de6e47.tar.xz
UIC-barcode-a32b863cfcf827751e0c2a4e072bc9cc79de6e47.tar.zst
UIC-barcode-a32b863cfcf827751e0c2a4e072bc9cc79de6e47.zip
Diffstat (limited to 'src/main/java/org/uic/barcode')
-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));