Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
lutece
lutece-form-plugin-forms
Commits
48853c78
Commit
48853c78
authored
Dec 03, 2021
by
Guillaume Lépine
Browse files
FORMS-720: fix control
parent
d12b7074
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/java/fr/paris/lutece/plugins/forms/validation/AbstractDateValidator.java
View file @
48853c78
...
...
@@ -72,7 +72,7 @@ public abstract class AbstractDateValidator extends AbstractValidator
Date
dateControl
=
new
Date
(
dateFormat
.
parse
(
control
.
getValue
(
)
).
getTime
(
)
);
for
(
Response
response
:
questionResponse
.
getEntryResponse
(
)
)
{
Date
date
=
new
Date
(
Integer
.
parse
Int
(
response
.
getResponseValue
(
)
)
);
Date
date
=
new
Date
(
Long
.
parse
Long
(
response
.
getResponseValue
(
)
)
);
if
(
!
validateDate
(
dateControl
,
date
)
)
{
return
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment