{"action":"opened","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/7047","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/7047/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/7047/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/7047/events","html_url":"https://github.com/yiisoft/yii2/issues/7047","id":55647286,"number":7047,"title":"Core Validators compare dates","user":{"login":"ipppinto","id":6302542,"avatar_url":"https://avatars.githubusercontent.com/u/6302542?v=3","gravatar_id":"","url":"https://api.github.com/users/ipppinto","html_url":"https://github.com/ipppinto","followers_url":"https://api.github.com/users/ipppinto/followers","following_url":"https://api.github.com/users/ipppinto/following{/other_user}","gists_url":"https://api.github.com/users/ipppinto/gists{/gist_id}","starred_url":"https://api.github.com/users/ipppinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipppinto/subscriptions","organizations_url":"https://api.github.com/users/ipppinto/orgs","repos_url":"https://api.github.com/users/ipppinto/repos","events_url":"https://api.github.com/users/ipppinto/events{/privacy}","received_events_url":"https://api.github.com/users/ipppinto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-27T17:22:53Z","updated_at":"2015-01-27T17:22:53Z","closed_at":null,"body":"['data_inicio', 'compare', 'compareValue' => Yii::$app->formatter->asDate('now', 'yyyy-MM-dd'), 'operator' => '>'],\r\n['data_fim', 'compare', 'compareAttribute' => 'data_inicio', 'operator' => '>'],\r\n\r\nIn my model I can't compare dates with code above. Can I use compare with dates?"}}