{"action":"opened","issue":{"url":"https://api.github.com/repos/pilrhealth/pilrhealth-issues/issues/164","labels_url":"https://api.github.com/repos/pilrhealth/pilrhealth-issues/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/pilrhealth/pilrhealth-issues/issues/164/comments","events_url":"https://api.github.com/repos/pilrhealth/pilrhealth-issues/issues/164/events","html_url":"https://github.com/pilrhealth/pilrhealth-issues/issues/164","id":55932526,"number":164,"title":"Period/epoch start and end dates sent as datetime with UTC as timezone","user":{"login":"jaredsieling","id":1580148,"avatar_url":"https://avatars.githubusercontent.com/u/1580148?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredsieling","html_url":"https://github.com/jaredsieling","followers_url":"https://api.github.com/users/jaredsieling/followers","following_url":"https://api.github.com/users/jaredsieling/following{/other_user}","gists_url":"https://api.github.com/users/jaredsieling/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredsieling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredsieling/subscriptions","organizations_url":"https://api.github.com/users/jaredsieling/orgs","repos_url":"https://api.github.com/users/jaredsieling/repos","events_url":"https://api.github.com/users/jaredsieling/events{/privacy}","received_events_url":"https://api.github.com/users/jaredsieling/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pilrhealth/pilrhealth-issues/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pilrhealth/pilrhealth-issues/milestones/6","labels_url":"https://api.github.com/repos/pilrhealth/pilrhealth-issues/milestones/6/labels","id":936814,"number":6,"title":"Blocking","description":"","creator":{"login":"jamespshields","id":3989059,"avatar_url":"https://avatars.githubusercontent.com/u/3989059?v=3","gravatar_id":"","url":"https://api.github.com/users/jamespshields","html_url":"https://github.com/jamespshields","followers_url":"https://api.github.com/users/jamespshields/followers","following_url":"https://api.github.com/users/jamespshields/following{/other_user}","gists_url":"https://api.github.com/users/jamespshields/gists{/gist_id}","starred_url":"https://api.github.com/users/jamespshields/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamespshields/subscriptions","organizations_url":"https://api.github.com/users/jamespshields/orgs","repos_url":"https://api.github.com/users/jamespshields/repos","events_url":"https://api.github.com/users/jamespshields/events{/privacy}","received_events_url":"https://api.github.com/users/jamespshields/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":2,"state":"open","created_at":"2015-01-15T14:14:30Z","updated_at":"2015-01-29T17:46:41Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-01-29T17:46:41Z","updated_at":"2015-01-29T17:46:41Z","closed_at":null,"body":"When dates are sent through the API for the epoch and period start and end dates, they are formatted as:\r\n\r\n2015-02-05T00:00:00Z\r\n\r\nThe 'Z' indicates UTC times, so if the mobile app does a straight date comparison, it checks the current time in UTC, versus this time in UTC.  However, it should just compare the date of the start and end date to the current date in local time.\r\n\r\nWe need to determine if we want to either send those times through the API with a different format, or 'hack' on the mobile end to ignore the UTC time zone."}}