{"action":"created","issue":{"url":"https://api.github.com/repos/DreierF/MyTargets/issues/129","repository_url":"https://api.github.com/repos/DreierF/MyTargets","labels_url":"https://api.github.com/repos/DreierF/MyTargets/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/DreierF/MyTargets/issues/129/comments","events_url":"https://api.github.com/repos/DreierF/MyTargets/issues/129/events","html_url":"https://github.com/DreierF/MyTargets/issues/129","id":170348919,"number":129,"title":"export csv has incorrect date","user":{"login":"RhysMcW","id":14996001,"avatar_url":"https://avatars.githubusercontent.com/u/14996001?v=3","gravatar_id":"","url":"https://api.github.com/users/RhysMcW","html_url":"https://github.com/RhysMcW","followers_url":"https://api.github.com/users/RhysMcW/followers","following_url":"https://api.github.com/users/RhysMcW/following{/other_user}","gists_url":"https://api.github.com/users/RhysMcW/gists{/gist_id}","starred_url":"https://api.github.com/users/RhysMcW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RhysMcW/subscriptions","organizations_url":"https://api.github.com/users/RhysMcW/orgs","repos_url":"https://api.github.com/users/RhysMcW/repos","events_url":"https://api.github.com/users/RhysMcW/events{/privacy}","received_events_url":"https://api.github.com/users/RhysMcW/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-10T07:28:46Z","updated_at":"2016-08-10T08:25:32Z","closed_at":null,"body":"I created a new training event on 2016/08/09 and viewing it in the app is all fine and the date is shown correct everywhere within the app.\r\nI exported to CSV and noticed the date was \"2016-08-08 22:00:00\", basically 2 hours the day before.\r\nMy timezone is GMT+2 so I'd guess that the data/time stored int he database is UTC and the app just adds my local timezone offset for the display???\r\n \r\nI suppose storing the time of the event would be useful if you setup multiple events during a day and you'd want' them shown in data/time order...\r\n\r\nI feel the data/time stored in the database should not be UTC but rather the actual date (and possibly let us select the time too) from the device used.\r\nMy reasoning for this is that if I travel to Sydney, Australia (GMT+10/+11) and setup an event for a shoot at 09h00 on 10 August it would be incorrect for the export to show it as 9 August 23:00 (or probably 14:00 or 13:00) as the shoot was not on 9 August.\r\n\r\nSo possibly an enhancement to let us select the time of the event as well as the date but either way store the date/time and export the date/time as entered and not UTC."},"comment":{"url":"https://api.github.com/repos/DreierF/MyTargets/issues/comments/238799004","html_url":"https://github.com/DreierF/MyTargets/issues/129#issuecomment-238799004","issue_url":"https://api.github.com/repos/DreierF/MyTargets/issues/129","id":238799004,"user":{"login":"DreierF","id":5631865,"avatar_url":"https://avatars.githubusercontent.com/u/5631865?v=3","gravatar_id":"","url":"https://api.github.com/users/DreierF","html_url":"https://github.com/DreierF","followers_url":"https://api.github.com/users/DreierF/followers","following_url":"https://api.github.com/users/DreierF/following{/other_user}","gists_url":"https://api.github.com/users/DreierF/gists{/gist_id}","starred_url":"https://api.github.com/users/DreierF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreierF/subscriptions","organizations_url":"https://api.github.com/users/DreierF/orgs","repos_url":"https://api.github.com/users/DreierF/repos","events_url":"https://api.github.com/users/DreierF/events{/privacy}","received_events_url":"https://api.github.com/users/DreierF/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T08:25:32Z","updated_at":"2016-08-10T08:25:32Z","body":"This has already been fixed in #117. In the current dev version only the date is exported (the correct one I hope^^) and issue #88 addresses the time. So the idea was to save the time when an end has been entered to allow for further analysis e.g. how pauses during rounds affect the scoring results... I would say it complicates the new training screen if you are also asked to enter the time. So can I close this issue?"}}
{"actor":{"display_login":"DreierF"}}