GitHub PullRequestReviewCommentEvent at 2014-01-01 18:19:17
Repository: Carbon
Actor: lucasmichot
Payload: {"comment":{"url":"https://api.github.com/repos/briannesbitt/Carbon/pulls/comments/8606499","id":8606499,"diff_hunk":"@@ -1183,6 +1183,18 @@ public function isLeapYear()\n    {\n       return $this->format('L') == '1';\n    }\n+   \n+   /**\n+     * Checks if the passed days is the same as current day.\n+     * @param DyngDate $date\n+     * @return boolean\n+     */\n+    public function isSameDay($date)\n+    {\n+        return  $this->year == $date->year && ","path":"src/Carbon/Carbon.php","position":12,"original_position":12,"commit_id":"2c70b6eefabadd65399bf47c7f80d567cae14b97","original_commit_id":"2c70b6eefabadd65399bf47c7f80d567cae14b97","user":{"login":"lucasmichot","id":513603,"avatar_url":"https://gravatar.com/avatar/cbf6e41a1010650a718385e9515778f6?d=https%3A%2F%2Fidenticons.github.com%2F36ed325406c2b98235fdfccbe6ed1e56.png&r=x","gravatar_id":"cbf6e41a1010650a718385e9515778f6","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},"body":"This way is faster:\r\n```php\r\nreturn $this->toDateString() == $date->toDateString();\r\n```","created_at":"2014-01-01T18:19:17Z","updated_at":"2014-01-01T18:19:17Z","html_url":"https://github.com/briannesbitt/Carbon/pull/75#discussion_r8606499","pull_request_url":"https://api.github.com/repos/briannesbitt/Carbon/pulls/75","_links":{"self":{"href":"https://api.github.com/repos/briannesbitt/Carbon/pulls/comments/8606499"},"html":{"href":"https://github.com/briannesbitt/Carbon/pull/75#discussion_r8606499"},"pull_request":{"href":"https://api.github.com/repos/briannesbitt/Carbon/pulls/75"}}}}