summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2024-09-27 12:00:42 +0200
committerGitHub <noreply@github.com>2024-09-27 12:00:42 +0200
commit737120a46e7b1af55113d88daab7caf48173c232 (patch)
tree8b1d0e56f573d24c8c7e4052db06e7a9a45e5333
parentDelete misc/uicRailTicketData_v4.0.0_draft.asn (diff)
parentfix(uhead encoding): use 24h hours for encoding (diff)
downloadUIC-barcode-1.4.8.tar
UIC-barcode-1.4.8.tar.gz
UIC-barcode-1.4.8.tar.bz2
UIC-barcode-1.4.8.tar.lz
UIC-barcode-1.4.8.tar.xz
UIC-barcode-1.4.8.tar.zst
UIC-barcode-1.4.8.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 30777a5..a4424d9 100644
--- a/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java
+++ b/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java
@@ -257,7 +257,7 @@ public class UHEADDataRecord extends DataRecord{
now.get(Calendar.DAY_OF_MONTH),
now.get(Calendar.MONTH) + 1,
now.get(Calendar.YEAR),
- now.get(Calendar.HOUR),
+ now.get(Calendar.HOUR_OF_DAY),
now.get(Calendar.MINUTE));