{"action":"created","issue":{"url":"https://api.github.com/repos/red/red/issues/2930","repository_url":"https://api.github.com/repos/red/red","labels_url":"https://api.github.com/repos/red/red/issues/2930/labels{/name}","comments_url":"https://api.github.com/repos/red/red/issues/2930/comments","events_url":"https://api.github.com/repos/red/red/issues/2930/events","html_url":"https://github.com/red/red/issues/2930","id":245446401,"number":2930,"title":"WISH: a date literal with time part should use local time zone by default.","user":{"login":"JenniferLee520","id":17034585,"avatar_url":"https://avatars1.githubusercontent.com/u/17034585?v=4","gravatar_id":"","url":"https://api.github.com/users/JenniferLee520","html_url":"https://github.com/JenniferLee520","followers_url":"https://api.github.com/users/JenniferLee520/followers","following_url":"https://api.github.com/users/JenniferLee520/following{/other_user}","gists_url":"https://api.github.com/users/JenniferLee520/gists{/gist_id}","starred_url":"https://api.github.com/users/JenniferLee520/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JenniferLee520/subscriptions","organizations_url":"https://api.github.com/users/JenniferLee520/orgs","repos_url":"https://api.github.com/users/JenniferLee520/repos","events_url":"https://api.github.com/users/JenniferLee520/events{/privacy}","received_events_url":"https://api.github.com/users/JenniferLee520/received_events","type":"User","site_admin":false},"labels":[{"id":88063,"url":"https://api.github.com/repos/red/red/labels/status.dismissed","name":"status.dismissed","color":"ced0f5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-25T15:44:57Z","updated_at":"2017-07-31T16:53:44Z","closed_at":"2017-07-26T05:03:14Z","body":"I am in time zone +08:00. \r\n\r\nWhen I write 2017-07-26/00:00, I actually mean 2017-07-26/00:00+08:00 instead of 2017-07-26/00:00+00:00. So when I first saw this, I was surprised:\r\n```Red\r\n>> t1: now\r\n== 25-Jul-2017/23:37:29+08:00\r\n>> t2: 25-Jul-2017/23:37:29   ; it's the same as t1, I just omit the time zone, hoping the local time zone +8:00 by default\r\n== 25-Jul-2017/23:37:29\r\n>> to-time ((to-integer t1 ) - to-integer t2)\r\n== -8:00:00\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/red/red/issues/comments/319130448","html_url":"https://github.com/red/red/issues/2930#issuecomment-319130448","issue_url":"https://api.github.com/repos/red/red/issues/2930","id":319130448,"user":{"login":"dockimbel","id":411393,"avatar_url":"https://avatars1.githubusercontent.com/u/411393?v=4","gravatar_id":"","url":"https://api.github.com/users/dockimbel","html_url":"https://github.com/dockimbel","followers_url":"https://api.github.com/users/dockimbel/followers","following_url":"https://api.github.com/users/dockimbel/following{/other_user}","gists_url":"https://api.github.com/users/dockimbel/gists{/gist_id}","starred_url":"https://api.github.com/users/dockimbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dockimbel/subscriptions","organizations_url":"https://api.github.com/users/dockimbel/orgs","repos_url":"https://api.github.com/users/dockimbel/repos","events_url":"https://api.github.com/users/dockimbel/events{/privacy}","received_events_url":"https://api.github.com/users/dockimbel/received_events","type":"User","site_admin":false},"created_at":"2017-07-31T16:53:44Z","updated_at":"2017-07-31T16:53:44Z","body":"If your script is only used by yourself in the same place, you can just forget about the timezone and consider all the dates you produce as *local time*, and use then `now/utc` to retrieve the current time without zone information. Just be very careful if you later decide to share your script with people in other countries."}}
{"actor":{"display_login":"dockimbel"}}