lagman/yii-datetime-compare-validator

DateTime comparison validator for Yii

dev-master 2014-04-29 06:44 UTC

This package is auto-updated.

Last update: 2024-11-17 20:09:59 UTC


README

Usage example

public function rules()
{
    return [
        ['endTime', 'vendor.lagman.yii-datetime-compare-validator.DateTimeCompareValidator',
            'compareAttribute' => 'beginTime', 'format'=>'H:i:s', 'operator' => '>='],
    ];
}