Skip to content

Commit

Permalink
Allow empty ISO dates
Browse files Browse the repository at this point in the history
  • Loading branch information
GenieTim committed Jan 23, 2024
1 parent 19f8ab1 commit d02623e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ public boolean verify(JComponent comp) {
if (content.length() > getFieldLength(aTableClass, fieldname)) {
returnValue = false;
} else {
if (content.length() < 1) {
return true;
}
if (!content.matches(ImageCaptureApp.REGEX_DATE)) {
returnValue = false;
}
Expand Down

0 comments on commit d02623e

Please sign in to comment.