{"action":"closed","issue":{"url":"https://api.github.com/repos/slashmili/python-jalali/issues/11","labels_url":"https://api.github.com/repos/slashmili/python-jalali/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/slashmili/python-jalali/issues/11/comments","events_url":"https://api.github.com/repos/slashmili/python-jalali/issues/11/events","html_url":"https://github.com/slashmili/python-jalali/issues/11","id":51178401,"number":11,"title":"typo in datetime __eq__ function","user":{"login":"farzadab","id":5062458,"avatar_url":"https://avatars.githubusercontent.com/u/5062458?v=3","gravatar_id":"","url":"https://api.github.com/users/farzadab","html_url":"https://github.com/farzadab","followers_url":"https://api.github.com/users/farzadab/followers","following_url":"https://api.github.com/users/farzadab/following{/other_user}","gists_url":"https://api.github.com/users/farzadab/gists{/gist_id}","starred_url":"https://api.github.com/users/farzadab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farzadab/subscriptions","organizations_url":"https://api.github.com/users/farzadab/orgs","repos_url":"https://api.github.com/users/farzadab/repos","events_url":"https://api.github.com/users/farzadab/events{/privacy}","received_events_url":"https://api.github.com/users/farzadab/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-06T10:25:24Z","updated_at":"2015-06-27T06:40:38Z","closed_at":"2015-06-27T06:40:38Z","body":"in line 761 of __init.py__ at the end of line is written:\r\n    self.tzinfo == self.other_datetime.tzinfo\r\nwhich should be:\r\n    self.tzinfo == other_datetime.tzinfo\r\n\r\n\r\n--------------\r\nedit:\r\nthe problem is bigger than that. in the same function, there's a logical problem. if two datetime values have equal date but not equal time of day, they are suppose to be equal and vice versa (if time of the day is equal, they are supposed to be equal) but that is obviously flawed.\r\n\r\np.s: i saw another bug similiar to this one in datetime.__gt__, i will write an issue for that later"}}