{"action":"created","issue":{"url":"https://api.github.com/repos/kimmoli/valuelogger/issues/19","repository_url":"https://api.github.com/repos/kimmoli/valuelogger","labels_url":"https://api.github.com/repos/kimmoli/valuelogger/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/kimmoli/valuelogger/issues/19/comments","events_url":"https://api.github.com/repos/kimmoli/valuelogger/issues/19/events","html_url":"https://github.com/kimmoli/valuelogger/issues/19","id":162548776,"number":19,"title":"altered time isn't stored since version 0.5.3","user":{"login":"feneks","id":20174300,"avatar_url":"https://avatars.githubusercontent.com/u/20174300?v=3","gravatar_id":"","url":"https://api.github.com/users/feneks","html_url":"https://github.com/feneks","followers_url":"https://api.github.com/users/feneks/followers","following_url":"https://api.github.com/users/feneks/following{/other_user}","gists_url":"https://api.github.com/users/feneks/gists{/gist_id}","starred_url":"https://api.github.com/users/feneks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feneks/subscriptions","organizations_url":"https://api.github.com/users/feneks/orgs","repos_url":"https://api.github.com/users/feneks/repos","events_url":"https://api.github.com/users/feneks/events{/privacy}","received_events_url":"https://api.github.com/users/feneks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-27T21:08:48Z","updated_at":"2016-07-28T08:25:47Z","closed_at":null,"body":"When you add values and alter time there is no value for time. Date works as expected. Saving values without altering time works too.\r\n\r\nI don't know java-script but I recognized these: \r\n\r\nqml/pages/AddValue.qml:line30-31 \r\n+ if clause without '{' and '}' ?\r\n\r\nqml/pages/AddValue.qml:line172-173 \r\n+ if clause without '{' and '}' ?\r\n\r\n qml/pages/ShowData.qml:line64\r\n+ time format \"h:mm:ss\" on purpose? Or should it be \"hh:mm:ss\"?\r\n"},"comment":{"url":"https://api.github.com/repos/kimmoli/valuelogger/issues/comments/235831701","html_url":"https://github.com/kimmoli/valuelogger/issues/19#issuecomment-235831701","issue_url":"https://api.github.com/repos/kimmoli/valuelogger/issues/19","id":235831701,"user":{"login":"dyraig","id":19952060,"avatar_url":"https://avatars.githubusercontent.com/u/19952060?v=3","gravatar_id":"","url":"https://api.github.com/users/dyraig","html_url":"https://github.com/dyraig","followers_url":"https://api.github.com/users/dyraig/followers","following_url":"https://api.github.com/users/dyraig/following{/other_user}","gists_url":"https://api.github.com/users/dyraig/gists{/gist_id}","starred_url":"https://api.github.com/users/dyraig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyraig/subscriptions","organizations_url":"https://api.github.com/users/dyraig/orgs","repos_url":"https://api.github.com/users/dyraig/repos","events_url":"https://api.github.com/users/dyraig/events{/privacy}","received_events_url":"https://api.github.com/users/dyraig/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T08:25:47Z","updated_at":"2016-07-28T08:25:47Z","body":"Right, search engines are such a nice invention - didn't know that QML uses JavaScript... :-)\r\n\r\nThis seems to work:\r\n\r\n`dialogTime.accepted.connect(function()\r\n{\r\n  console.log(\"You chose: \" + dialogTime.timeText)\r\n  var tt = dialogTime.timeText + \":00\"\r\n  console.log(\"Length: \" + tt.length)\r\n  if (tt.length < 8)\r\n    tt = \"0\" + tt\r\n  updateDateTime(nowDate, tt)\r\n})\r\n`\r\n(the second console log was just to check what is going on...)"}}
{"actor":{"display_login":"dyraig"}}