{"action":"closed","issue":{"url":"https://api.github.com/repos/hilios/jQuery.countdown/issues/116","labels_url":"https://api.github.com/repos/hilios/jQuery.countdown/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/hilios/jQuery.countdown/issues/116/comments","events_url":"https://api.github.com/repos/hilios/jQuery.countdown/issues/116/events","html_url":"https://github.com/hilios/jQuery.countdown/issues/116","id":70653090,"number":116,"title":"Initialiaze the time and stop","user":{"login":"cosant","id":1160637,"avatar_url":"https://avatars.githubusercontent.com/u/1160637?v=3","gravatar_id":"","url":"https://api.github.com/users/cosant","html_url":"https://github.com/cosant","followers_url":"https://api.github.com/users/cosant/followers","following_url":"https://api.github.com/users/cosant/following{/other_user}","gists_url":"https://api.github.com/users/cosant/gists{/gist_id}","starred_url":"https://api.github.com/users/cosant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosant/subscriptions","organizations_url":"https://api.github.com/users/cosant/orgs","repos_url":"https://api.github.com/users/cosant/repos","events_url":"https://api.github.com/users/cosant/events{/privacy}","received_events_url":"https://api.github.com/users/cosant/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hilios/jQuery.countdown/labels/support","name":"support","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-24T10:35:03Z","updated_at":"2015-04-30T08:29:00Z","closed_at":"2015-04-30T08:29:00Z","body":"When I stop the timer it still count in the background and on resume it continues from that point and not at the stop time\r\n\r\n```js\r\nfunction getReady() {\r\n    return new Date(new Date().valueOf() + 60 * 60 * 1000);\r\n  }\r\n  var $clock = $('#clock');\r\n  $('#clock').countdown(getReady(), function(event) {\r\n    $(this).html(event.strftime('Time left to escape %H:%M:%S'));\r\n  });\r\n\r\n  $('#btn-pause').click(function() {\r\n    $clock.countdown('stop');\r\n  });\r\n  $('#btn-resume').click(function() {\r\n    $clock.countdown('start');\r\n  });\r\n  $('#btn-reset').click(function() {\r\n    $clock.countdown(getReady());\r\n  });\r\n```\r\n\r\nThank you"}}