{"action":"created","issue":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/491","labels_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/491/labels{/name}","comments_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/491/comments","events_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/491/events","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/491","id":101054592,"number":491,"title":"hs.timer api to get remaining time","user":{"login":"erikcw","id":113129,"avatar_url":"https://avatars.githubusercontent.com/u/113129?v=3","gravatar_id":"","url":"https://api.github.com/users/erikcw","html_url":"https://github.com/erikcw","followers_url":"https://api.github.com/users/erikcw/followers","following_url":"https://api.github.com/users/erikcw/following{/other_user}","gists_url":"https://api.github.com/users/erikcw/gists{/gist_id}","starred_url":"https://api.github.com/users/erikcw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikcw/subscriptions","organizations_url":"https://api.github.com/users/erikcw/orgs","repos_url":"https://api.github.com/users/erikcw/repos","events_url":"https://api.github.com/users/erikcw/events{/privacy}","received_events_url":"https://api.github.com/users/erikcw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-14T17:03:53Z","updated_at":"2015-08-16T01:59:23Z","closed_at":null,"body":"It would be convenient to have a public method on hs.timer that returns the amount of time remaining."},"comment":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/comments/131476697","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/491#issuecomment-131476697","issue_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/491","id":131476697,"user":{"login":"jhgg","id":5489149,"avatar_url":"https://avatars.githubusercontent.com/u/5489149?v=3","gravatar_id":"","url":"https://api.github.com/users/jhgg","html_url":"https://github.com/jhgg","followers_url":"https://api.github.com/users/jhgg/followers","following_url":"https://api.github.com/users/jhgg/following{/other_user}","gists_url":"https://api.github.com/users/jhgg/gists{/gist_id}","starred_url":"https://api.github.com/users/jhgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhgg/subscriptions","organizations_url":"https://api.github.com/users/jhgg/orgs","repos_url":"https://api.github.com/users/jhgg/repos","events_url":"https://api.github.com/users/jhgg/events{/privacy}","received_events_url":"https://api.github.com/users/jhgg/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T01:59:23Z","updated_at":"2015-08-16T01:59:23Z","body":"I like the negative values. Let's me know how long ago a timer fired with out having to do additional book keeping. \n\nSent from my iPhone\n\n> On Aug 15, 2015, at 4:57 PM, Chris Jones <notifications@github.com> wrote:\n> \n> @asmagill hmm, I did think about non-running timers, and have them return 0, but I'm wondering if nil would be better. I don't immediately imagine that anyone would care about the amount of time since a timer was stopped, but maybe someone has a good reason to just return whatever the raw value is?\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}