{"action":"created","issue":{"url":"https://api.github.com/repos/webdigi/GmailScheduler/issues/14","labels_url":"https://api.github.com/repos/webdigi/GmailScheduler/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/webdigi/GmailScheduler/issues/14/comments","events_url":"https://api.github.com/repos/webdigi/GmailScheduler/issues/14/events","html_url":"https://github.com/webdigi/GmailScheduler/pull/14","id":59035742,"number":14,"title":"UTC fixes","user":{"login":"thapar","id":1113034,"avatar_url":"https://avatars.githubusercontent.com/u/1113034?v=3","gravatar_id":"","url":"https://api.github.com/users/thapar","html_url":"https://github.com/thapar","followers_url":"https://api.github.com/users/thapar/followers","following_url":"https://api.github.com/users/thapar/following{/other_user}","gists_url":"https://api.github.com/users/thapar/gists{/gist_id}","starred_url":"https://api.github.com/users/thapar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thapar/subscriptions","organizations_url":"https://api.github.com/users/thapar/orgs","repos_url":"https://api.github.com/users/thapar/repos","events_url":"https://api.github.com/users/thapar/events{/privacy}","received_events_url":"https://api.github.com/users/thapar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-26T08:16:51Z","updated_at":"2015-02-26T08:33:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/webdigi/GmailScheduler/pulls/14","html_url":"https://github.com/webdigi/GmailScheduler/pull/14","diff_url":"https://github.com/webdigi/GmailScheduler/pull/14.diff","patch_url":"https://github.com/webdigi/GmailScheduler/pull/14.patch"},"body":"Although https://github.com/webdigi/GmailScheduler/pull/13 removed some troubling code, there still seems to be an issue where SugarJS is maintaining the timezone of the user and mixing it up with the time zone of the server (it seems). Forcing the GmailScheduler script to use UTC is the sane solution to dealing with people in different time zones.\r\n\r\nHOWEVER, before merging this pull request, I highly recommend you create a new Google Apps Script project and transfer your current project there to use as a test project. Put this code in that new Google Apps Script project, which will serve as a sandbox. Then enable me (or anyone else in a different timezone as you) to test the script by checking the Log window in Google Apps' script editor."},"comment":{"url":"https://api.github.com/repos/webdigi/GmailScheduler/issues/comments/76140257","html_url":"https://github.com/webdigi/GmailScheduler/pull/14#issuecomment-76140257","issue_url":"https://api.github.com/repos/webdigi/GmailScheduler/issues/14","id":76140257,"user":{"login":"thapar","id":1113034,"avatar_url":"https://avatars.githubusercontent.com/u/1113034?v=3","gravatar_id":"","url":"https://api.github.com/users/thapar","html_url":"https://github.com/thapar","followers_url":"https://api.github.com/users/thapar/followers","following_url":"https://api.github.com/users/thapar/following{/other_user}","gists_url":"https://api.github.com/users/thapar/gists{/gist_id}","starred_url":"https://api.github.com/users/thapar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thapar/subscriptions","organizations_url":"https://api.github.com/users/thapar/orgs","repos_url":"https://api.github.com/users/thapar/repos","events_url":"https://api.github.com/users/thapar/events{/privacy}","received_events_url":"https://api.github.com/users/thapar/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T08:33:48Z","updated_at":"2015-02-26T08:33:48Z","body":"I do have a working copy. But it doesn't help me to test since I'm in my\nown timezone :-)  Therefore, if you create a second copy for testing under\nyour account, I can test that copy for the timezone issue.\n\nOn Thu, Feb 26, 2015 at 3:26 AM, Webdigi - Web Development <\nnotifications@github.com> wrote:\n\n> @thapar <https://github.com/thapar> - Please upload\n> https://github.com/webdigi/GmailScheduler/tree/master/src under your\n> account. We can then test that fully under the account you create. Since\n> you are an active contributor it might be best if you have a separate\n> working copy in your google scripts account.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/webdigi/GmailScheduler/pull/14#issuecomment-76139481>.\n>\n"}}