Skip to content

Commit

Permalink
Fix: Picture string with ordinal not parsed correctly. #310 (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
uw4 authored May 28, 2024
1 parent 5946c86 commit e4dd7b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ private static PictureFormat analyseDateTimePicture(String picture) {
}
} else if ("YMDdFWwXxHhmsf".indexOf(def.component) != -1) {
String integerPattern = def.presentation1;
if (def.presentation2 == null) {
if (def.presentation2 != null) {
integerPattern += ";" + def.presentation2;
}
def.integerFormat = analyseIntegerPicture(integerPattern);
Expand Down

0 comments on commit e4dd7b3

Please sign in to comment.