Skip to content
Snippets Groups Projects
Commit bf5628ad authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

Fix for splitting dates

parent 35f8afb2
No related branches found
No related tags found
No related merge requests found
......@@ -40,14 +40,15 @@ public class DateVerifier extends AbstractVerifier {
private void checkDateValue(VDmnValue dateValue) {
if (!dateValue.getText().isEmpty()) {
for (String dateStringValue :
String[] vals =
dateValue
.getText()
.replace("<", "")
.replace(">", "")
.replace("[", "")
.replace("]", "")
.split("..")) {
.split("\\.\\.");
for (String dateStringValue : vals) {
checkCorrectDate(dateValue, dateStringValue);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment