{"action":"created","issue":{"url":"https://api.github.com/repos/ryanbinns/ttwatch/issues/73","repository_url":"https://api.github.com/repos/ryanbinns/ttwatch","labels_url":"https://api.github.com/repos/ryanbinns/ttwatch/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/ryanbinns/ttwatch/issues/73/comments","events_url":"https://api.github.com/repos/ryanbinns/ttwatch/issues/73/events","html_url":"https://github.com/ryanbinns/ttwatch/issues/73","id":146086531,"number":73,"title":"What does set-time actually do?","user":{"login":"marcust","id":95655,"avatar_url":"https://avatars.githubusercontent.com/u/95655?v=3","gravatar_id":"","url":"https://api.github.com/users/marcust","html_url":"https://github.com/marcust","followers_url":"https://api.github.com/users/marcust/followers","following_url":"https://api.github.com/users/marcust/following{/other_user}","gists_url":"https://api.github.com/users/marcust/gists{/gist_id}","starred_url":"https://api.github.com/users/marcust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcust/subscriptions","organizations_url":"https://api.github.com/users/marcust/orgs","repos_url":"https://api.github.com/users/marcust/repos","events_url":"https://api.github.com/users/marcust/events{/privacy}","received_events_url":"https://api.github.com/users/marcust/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-05T19:25:27Z","updated_at":"2016-04-05T20:06:27Z","closed_at":null,"body":"I kind of expected that \r\n```\r\n  --set-time             Updates the time on the watch\r\n```\r\nmeans that the watch time will be set.\r\nBut I get this output:\r\n```\r\n$ date; ttwatch --set-time; ttwatch --get-time\r\nDi 5. Apr 21:23:15 CEST 2016\r\nUTC time:   2010-02-01 03:27:17\r\nLocal time: 2010-02-01 05:27:17 (UTC+2)\r\n```\r\n\r\nSo this does not work. I had a look at the sources (https://github.com/ryanbinns/ttwatch/blob/master/ttwatch/ttwatch.c#L309-L326) and it looks to me as if it just updates the GMT offset. So --set-time actually just sets the offset to GMT?\r\n\r\nI found no functionality to actually set the time in libttwatch, so I figure that is just not implemented? "},"comment":{"url":"https://api.github.com/repos/ryanbinns/ttwatch/issues/comments/205971232","html_url":"https://github.com/ryanbinns/ttwatch/issues/73#issuecomment-205971232","issue_url":"https://api.github.com/repos/ryanbinns/ttwatch/issues/73","id":205971232,"user":{"login":"dlenski","id":128716,"avatar_url":"https://avatars.githubusercontent.com/u/128716?v=3","gravatar_id":"","url":"https://api.github.com/users/dlenski","html_url":"https://github.com/dlenski","followers_url":"https://api.github.com/users/dlenski/followers","following_url":"https://api.github.com/users/dlenski/following{/other_user}","gists_url":"https://api.github.com/users/dlenski/gists{/gist_id}","starred_url":"https://api.github.com/users/dlenski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlenski/subscriptions","organizations_url":"https://api.github.com/users/dlenski/orgs","repos_url":"https://api.github.com/users/dlenski/repos","events_url":"https://api.github.com/users/dlenski/events{/privacy}","received_events_url":"https://api.github.com/users/dlenski/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T20:06:26Z","updated_at":"2016-04-05T20:06:26Z","body":"See #58.\r\n\r\nIt seems that it is not actually possibly to set \"the time\" on the TomTom watches. They only store the displayed time as an offset relative to the UTC time obtained by the GPS.\r\n\r\nThat means that if the watch doesn't have the correct UTC time (normally only when it is brand new or has been factory reset!), it won't be set correctly. So you have to try the GPS before you can set the time correctly."}}