Commit 48853c78 authored by Guillaume Lépine's avatar Guillaume Lépine
Browse files

FORMS-720: fix control

parent d12b7074
......@@ -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.parseInt( response.getResponseValue( ) ) );
Date date = new Date( Long.parseLong( response.getResponseValue( ) ) );
if ( !validateDate( dateControl, date ) )
{
return false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment