{"action":"created","issue":{"url":"https://api.github.com/repos/novalagung/NVDate/issues/3","labels_url":"https://api.github.com/repos/novalagung/NVDate/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/novalagung/NVDate/issues/3/comments","events_url":"https://api.github.com/repos/novalagung/NVDate/issues/3/events","html_url":"https://github.com/novalagung/NVDate/issues/3","id":36073856,"number":3,"title":"different dates ?!","user":{"login":"a1exb1","id":7327823,"avatar_url":"https://avatars.githubusercontent.com/u/7327823?v=3","gravatar_id":"","url":"https://api.github.com/users/a1exb1","html_url":"https://github.com/a1exb1","followers_url":"https://api.github.com/users/a1exb1/followers","following_url":"https://api.github.com/users/a1exb1/following{/other_user}","gists_url":"https://api.github.com/users/a1exb1/gists{/gist_id}","starred_url":"https://api.github.com/users/a1exb1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a1exb1/subscriptions","organizations_url":"https://api.github.com/users/a1exb1/orgs","repos_url":"https://api.github.com/users/a1exb1/repos","events_url":"https://api.github.com/users/a1exb1/events{/privacy}","received_events_url":"https://api.github.com/users/a1exb1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-06-19T12:31:10Z","updated_at":"2015-03-10T08:43:30Z","closed_at":"2015-03-10T08:43:30Z","body":" NSLog(@\"%@, %d, %@\", _firstDateOfCalender.date, (int)_firstDateOfCalender.day, [_firstDateOfCalender stringValueWithFormat:@\"dd/MM/yyyy\"]);\r\n\r\n.date and nvdate.day give different days: \r\n\r\n2014-05-26 22:00:00 +0000, 27, 27/05/2014"},"comment":{"url":"https://api.github.com/repos/novalagung/NVDate/issues/comments/78014381","html_url":"https://github.com/novalagung/NVDate/issues/3#issuecomment-78014381","issue_url":"https://api.github.com/repos/novalagung/NVDate/issues/3","id":78014381,"user":{"login":"novalagung","id":982868,"avatar_url":"https://avatars.githubusercontent.com/u/982868?v=3","gravatar_id":"","url":"https://api.github.com/users/novalagung","html_url":"https://github.com/novalagung","followers_url":"https://api.github.com/users/novalagung/followers","following_url":"https://api.github.com/users/novalagung/following{/other_user}","gists_url":"https://api.github.com/users/novalagung/gists{/gist_id}","starred_url":"https://api.github.com/users/novalagung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novalagung/subscriptions","organizations_url":"https://api.github.com/users/novalagung/orgs","repos_url":"https://api.github.com/users/novalagung/repos","events_url":"https://api.github.com/users/novalagung/events{/privacy}","received_events_url":"https://api.github.com/users/novalagung/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T08:43:30Z","updated_at":"2015-03-10T08:43:30Z","body":"I just found out why `.date` and `nvdate.day` gave different result. It because `timezone`.\r\n\r\nWhen you put `NSDate` object in log, it'll *always* return in `UTC` format. You may see `+0000` in the tail. But, when you access each component (like days/month/year/etc) or get string value of the date, it  will return a value in your locale timezone. That's why the value is different.\r\n\r\nI've push some updates, to change the timezone. By default NVDate will use local timezone."}}