{"action":"created","issue":{"url":"https://api.github.com/repos/xibosignage/xibo/issues/266","labels_url":"https://api.github.com/repos/xibosignage/xibo/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/xibosignage/xibo/issues/266/comments","events_url":"https://api.github.com/repos/xibosignage/xibo/issues/266/events","html_url":"https://github.com/xibosignage/xibo/issues/266","id":57722092,"number":266,"title":"Duration field allows you to enter . or ,  (dot / comma) but removes it on save without warning","user":{"login":"MedusaDelft","id":10947534,"avatar_url":"https://avatars.githubusercontent.com/u/10947534?v=3","gravatar_id":"","url":"https://api.github.com/users/MedusaDelft","html_url":"https://github.com/MedusaDelft","followers_url":"https://api.github.com/users/MedusaDelft/followers","following_url":"https://api.github.com/users/MedusaDelft/following{/other_user}","gists_url":"https://api.github.com/users/MedusaDelft/gists{/gist_id}","starred_url":"https://api.github.com/users/MedusaDelft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MedusaDelft/subscriptions","organizations_url":"https://api.github.com/users/MedusaDelft/orgs","repos_url":"https://api.github.com/users/MedusaDelft/repos","events_url":"https://api.github.com/users/MedusaDelft/events{/privacy}","received_events_url":"https://api.github.com/users/MedusaDelft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-15T07:53:34Z","updated_at":"2015-02-15T22:23:04Z","closed_at":null,"body":"When I enter a duration for images (but I suspect other media items have the same behaviour), like  2.5 seconds, the value is saved normally only to discover later that the duration is now 25 seconds (!). A warning and not saving would be nice, or saving and a warning afterwards. It doesn't seem to matter if a dot or a comma is entered. (XiboCMS 1.7.1)"},"comment":{"url":"https://api.github.com/repos/xibosignage/xibo/issues/comments/74440611","html_url":"https://github.com/xibosignage/xibo/issues/266#issuecomment-74440611","issue_url":"https://api.github.com/repos/xibosignage/xibo/issues/266","id":74440611,"user":{"login":"dasgarner","id":10400067,"avatar_url":"https://avatars.githubusercontent.com/u/10400067?v=3","gravatar_id":"","url":"https://api.github.com/users/dasgarner","html_url":"https://github.com/dasgarner","followers_url":"https://api.github.com/users/dasgarner/followers","following_url":"https://api.github.com/users/dasgarner/following{/other_user}","gists_url":"https://api.github.com/users/dasgarner/gists{/gist_id}","starred_url":"https://api.github.com/users/dasgarner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dasgarner/subscriptions","organizations_url":"https://api.github.com/users/dasgarner/orgs","repos_url":"https://api.github.com/users/dasgarner/repos","events_url":"https://api.github.com/users/dasgarner/events{/privacy}","received_events_url":"https://api.github.com/users/dasgarner/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T22:23:04Z","updated_at":"2015-02-15T22:23:04Z","body":"well, the sanitization library is converting it to an int, I suppose it should be erroring when its not an int"}}