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-10-17 19:56:57 UTC


README

Usage example

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