Dates 20 years in the future considered invalid
Dates 20 years in the future considered invalid Laravel validator doesn't accept dates that are more than 20 years in the future: Route::get('test', function() { $input = ['date' => '2039-01-01']; $rule = ['date' => 'date']; $v = IlluminateSupportFacadesValidator::make($input, $rule); return 'Fails: '.$v->fails(); }); The following example returns true, despite the fact that the date is correct. But when I change 2039 to 2037, it works. How can I do to make the validator always return false? Check this: stackoverflow.com/questions/3953333/maximum-time-php – Mayank Pandeyz Jun 29 at 10:03 I see there will be a problem in 2038, but its there a way to bypass this limit for the validation as I'm using dates and not UNIX timestamps? ...
