{"action":"created","issue":{"url":"https://api.github.com/repos/tidepool-org/sundial/issues/15","labels_url":"https://api.github.com/repos/tidepool-org/sundial/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/tidepool-org/sundial/issues/15/comments","events_url":"https://api.github.com/repos/tidepool-org/sundial/issues/15/events","html_url":"https://github.com/tidepool-org/sundial/pull/15","id":60141012,"number":15,"title":"add a futureDate function and test","user":{"login":"kentquirk","id":755528,"avatar_url":"https://avatars.githubusercontent.com/u/755528?v=3","gravatar_id":"","url":"https://api.github.com/users/kentquirk","html_url":"https://github.com/kentquirk","followers_url":"https://api.github.com/users/kentquirk/followers","following_url":"https://api.github.com/users/kentquirk/following{/other_user}","gists_url":"https://api.github.com/users/kentquirk/gists{/gist_id}","starred_url":"https://api.github.com/users/kentquirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentquirk/subscriptions","organizations_url":"https://api.github.com/users/kentquirk/orgs","repos_url":"https://api.github.com/users/kentquirk/repos","events_url":"https://api.github.com/users/kentquirk/events{/privacy}","received_events_url":"https://api.github.com/users/kentquirk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-06T18:41:04Z","updated_at":"2015-03-06T19:51:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tidepool-org/sundial/pulls/15","html_url":"https://github.com/tidepool-org/sundial/pull/15","diff_url":"https://github.com/tidepool-org/sundial/pull/15.diff","patch_url":"https://github.com/tidepool-org/sundial/pull/15.patch"},"body":"@jebeck @jh-bate I need this function to be able to properly update message-api (the getDeletionWindow function there needs something like this). I'd appreciate a quick review."},"comment":{"url":"https://api.github.com/repos/tidepool-org/sundial/issues/comments/77623819","html_url":"https://github.com/tidepool-org/sundial/pull/15#issuecomment-77623819","issue_url":"https://api.github.com/repos/tidepool-org/sundial/issues/15","id":77623819,"user":{"login":"kentquirk","id":755528,"avatar_url":"https://avatars.githubusercontent.com/u/755528?v=3","gravatar_id":"","url":"https://api.github.com/users/kentquirk","html_url":"https://github.com/kentquirk","followers_url":"https://api.github.com/users/kentquirk/followers","following_url":"https://api.github.com/users/kentquirk/following{/other_user}","gists_url":"https://api.github.com/users/kentquirk/gists{/gist_id}","starred_url":"https://api.github.com/users/kentquirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentquirk/subscriptions","organizations_url":"https://api.github.com/users/kentquirk/orgs","repos_url":"https://api.github.com/users/kentquirk/repos","events_url":"https://api.github.com/users/kentquirk/events{/privacy}","received_events_url":"https://api.github.com/users/kentquirk/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T19:51:29Z","updated_at":"2015-03-06T19:51:29Z","body":"So...I just went to do that, and I used JS's Date function to do now(), and then passed that in to moment...and the test failed.\r\n\r\nWhy? Because JS's Date function uses local time rather than UTC -- and summer time starts this weekend!\r\n\r\nSo since this function worked despite time changes, I'm going to leave it this way.\r\n"}}