{"action":"opened","issue":{"url":"https://api.github.com/repos/adaptlearning/adapt_framework/issues/1363","repository_url":"https://api.github.com/repos/adaptlearning/adapt_framework","labels_url":"https://api.github.com/repos/adaptlearning/adapt_framework/issues/1363/labels{/name}","comments_url":"https://api.github.com/repos/adaptlearning/adapt_framework/issues/1363/comments","events_url":"https://api.github.com/repos/adaptlearning/adapt_framework/issues/1363/events","html_url":"https://github.com/adaptlearning/adapt_framework/issues/1363","id":195795108,"number":1363,"title":"adapt-contrib-spoor: refactor of wrapper.getISO8601Timestamp","user":{"login":"moloko","id":1249597,"avatar_url":"https://avatars.githubusercontent.com/u/1249597?v=3","gravatar_id":"","url":"https://api.github.com/users/moloko","html_url":"https://github.com/moloko","followers_url":"https://api.github.com/users/moloko/followers","following_url":"https://api.github.com/users/moloko/following{/other_user}","gists_url":"https://api.github.com/users/moloko/gists{/gist_id}","starred_url":"https://api.github.com/users/moloko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moloko/subscriptions","organizations_url":"https://api.github.com/users/moloko/orgs","repos_url":"https://api.github.com/users/moloko/repos","events_url":"https://api.github.com/users/moloko/events{/privacy}","received_events_url":"https://api.github.com/users/moloko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"moloko","id":1249597,"avatar_url":"https://avatars.githubusercontent.com/u/1249597?v=3","gravatar_id":"","url":"https://api.github.com/users/moloko","html_url":"https://github.com/moloko","followers_url":"https://api.github.com/users/moloko/followers","following_url":"https://api.github.com/users/moloko/following{/other_user}","gists_url":"https://api.github.com/users/moloko/gists{/gist_id}","starred_url":"https://api.github.com/users/moloko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moloko/subscriptions","organizations_url":"https://api.github.com/users/moloko/orgs","repos_url":"https://api.github.com/users/moloko/repos","events_url":"https://api.github.com/users/moloko/events{/privacy}","received_events_url":"https://api.github.com/users/moloko/received_events","type":"User","site_admin":false},"assignees":[{"login":"moloko","id":1249597,"avatar_url":"https://avatars.githubusercontent.com/u/1249597?v=3","gravatar_id":"","url":"https://api.github.com/users/moloko","html_url":"https://github.com/moloko","followers_url":"https://api.github.com/users/moloko/followers","following_url":"https://api.github.com/users/moloko/following{/other_user}","gists_url":"https://api.github.com/users/moloko/gists{/gist_id}","starred_url":"https://api.github.com/users/moloko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moloko/subscriptions","organizations_url":"https://api.github.com/users/moloko/orgs","repos_url":"https://api.github.com/users/moloko/repos","events_url":"https://api.github.com/users/moloko/events{/privacy}","received_events_url":"https://api.github.com/users/moloko/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-12-15T12:36:39Z","updated_at":"2016-12-15T12:36:39Z","closed_at":null,"body":"Assuming #1346 gets merged then it will add support for [date.toISOString()](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString), allowing us to either drastically simplify this function - or even remove it altogether.\r\n\r\nCurrently it returns the time in the format 2016-12-15T11:59:33 - but if SCORM 2004 accepts the format 2016-12-15T11:59:33.229Z then this function can be dropped altogether and just `new Date().toISOString()` used - otherwise it's just a case of keeping the function but changing it to:\r\n```\r\nvar d = new Date().toISOString();\r\nreturn d.substr(0, d.lastIndexOf(\".\"));\r\n```"}}
{"actor":{"display_login":"moloko"}}