{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/14521","labels_url":"https://api.github.com/repos/symfony/symfony/issues/14521/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/14521/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/14521/events","html_url":"https://github.com/symfony/symfony/issues/14521","id":72474617,"number":14521,"title":"[Validator] Deprecate Date and Time constraints","user":{"login":"dosten","id":510842,"avatar_url":"https://avatars.githubusercontent.com/u/510842?v=3","gravatar_id":"","url":"https://api.github.com/users/dosten","html_url":"https://github.com/dosten","followers_url":"https://api.github.com/users/dosten/followers","following_url":"https://api.github.com/users/dosten/following{/other_user}","gists_url":"https://api.github.com/users/dosten/gists{/gist_id}","starred_url":"https://api.github.com/users/dosten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dosten/subscriptions","organizations_url":"https://api.github.com/users/dosten/orgs","repos_url":"https://api.github.com/users/dosten/repos","events_url":"https://api.github.com/users/dosten/events{/privacy}","received_events_url":"https://api.github.com/users/dosten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-01T17:03:11Z","updated_at":"2015-05-02T15:04:09Z","closed_at":null,"body":"What do you think about deprecating the `Date` and `Time` constraints in favor of add a `format` option to the `DateTime` constraint.\r\nWe can do that using the `DateTime::createFromFormat()` and `DateTime::getLastErrors()` to check if a date is valid based on a specific format.\r\nWhat do you think? Can be this discussed?"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/98369801","html_url":"https://github.com/symfony/symfony/issues/14521#issuecomment-98369801","issue_url":"https://api.github.com/repos/symfony/symfony/issues/14521","id":98369801,"user":{"login":"aitboudad","id":1753742,"avatar_url":"https://avatars.githubusercontent.com/u/1753742?v=3","gravatar_id":"","url":"https://api.github.com/users/aitboudad","html_url":"https://github.com/aitboudad","followers_url":"https://api.github.com/users/aitboudad/followers","following_url":"https://api.github.com/users/aitboudad/following{/other_user}","gists_url":"https://api.github.com/users/aitboudad/gists{/gist_id}","starred_url":"https://api.github.com/users/aitboudad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aitboudad/subscriptions","organizations_url":"https://api.github.com/users/aitboudad/orgs","repos_url":"https://api.github.com/users/aitboudad/repos","events_url":"https://api.github.com/users/aitboudad/events{/privacy}","received_events_url":"https://api.github.com/users/aitboudad/received_events","type":"User","site_admin":false},"created_at":"2015-05-02T15:04:09Z","updated_at":"2015-05-02T15:04:09Z","body":"I think it would be a good idea to have less constraints."}}