{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/9418","labels_url":"https://api.github.com/repos/laravel/framework/issues/9418/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/9418/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/9418/events","html_url":"https://github.com/laravel/framework/pull/9418","id":91182420,"number":9418,"title":"[5.1] Fix falsy dirty date","user":{"login":"lucasmichot","id":513603,"avatar_url":"https://avatars.githubusercontent.com/u/513603?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasmichot","html_url":"https://github.com/lucasmichot","followers_url":"https://api.github.com/users/lucasmichot/followers","following_url":"https://api.github.com/users/lucasmichot/following{/other_user}","gists_url":"https://api.github.com/users/lucasmichot/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasmichot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasmichot/subscriptions","organizations_url":"https://api.github.com/users/lucasmichot/orgs","repos_url":"https://api.github.com/users/lucasmichot/repos","events_url":"https://api.github.com/users/lucasmichot/events{/privacy}","received_events_url":"https://api.github.com/users/lucasmichot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-26T07:46:43Z","updated_at":"2015-07-01T16:53:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/9418","html_url":"https://github.com/laravel/framework/pull/9418","diff_url":"https://github.com/laravel/framework/pull/9418.diff","patch_url":"https://github.com/laravel/framework/pull/9418.patch"},"body":"At the moment, if in my model an original date `mydate` is `2015-01-01 01:01:01`, setting as a new value with an equivalent `Carbon` or `Datetime` instance will result this date to be considered as dirty, which is not the correct.\r\n\r\nThis PR fixes that.\r\nWithout it, all the `isDirty` assertions of `testDirtyDatesAttributes` would fail."},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/117748465","html_url":"https://github.com/laravel/framework/pull/9418#issuecomment-117748465","issue_url":"https://api.github.com/repos/laravel/framework/issues/9418","id":117748465,"user":{"login":"lucasmichot","id":513603,"avatar_url":"https://avatars.githubusercontent.com/u/513603?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasmichot","html_url":"https://github.com/lucasmichot","followers_url":"https://api.github.com/users/lucasmichot/followers","following_url":"https://api.github.com/users/lucasmichot/following{/other_user}","gists_url":"https://api.github.com/users/lucasmichot/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasmichot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasmichot/subscriptions","organizations_url":"https://api.github.com/users/lucasmichot/orgs","repos_url":"https://api.github.com/users/lucasmichot/repos","events_url":"https://api.github.com/users/lucasmichot/events{/privacy}","received_events_url":"https://api.github.com/users/lucasmichot/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T16:53:32Z","updated_at":"2015-07-01T16:53:32Z","body":"Indeed @tobikris , I got a WIP for that but still locked on a test"}}