laravel/laravel — pull request #436 by daylerees (2012-03-21 21:13:10+00:00)
Title: Date before and after filters

This patch allows you to specify a before: and after: validation rule.

A fix for #373

The parameter is run through strtotime() so can take many formats, the field value is also compared this way.

For example :

$rules = array('time' => 'before:24-12-2007');

Also included validation error strings.