{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/joi/issues/985","repository_url":"https://api.github.com/repos/hapijs/joi","labels_url":"https://api.github.com/repos/hapijs/joi/issues/985/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/joi/issues/985/comments","events_url":"https://api.github.com/repos/hapijs/joi/issues/985/events","html_url":"https://github.com/hapijs/joi/issues/985","id":177349171,"number":985,"title":"Move time rules to an extension","user":{"login":"hueniverse","id":56631,"avatar_url":"https://avatars.githubusercontent.com/u/56631?v=3","gravatar_id":"","url":"https://api.github.com/users/hueniverse","html_url":"https://github.com/hueniverse","followers_url":"https://api.github.com/users/hueniverse/followers","following_url":"https://api.github.com/users/hueniverse/following{/other_user}","gists_url":"https://api.github.com/users/hueniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/hueniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hueniverse/subscriptions","organizations_url":"https://api.github.com/users/hueniverse/orgs","repos_url":"https://api.github.com/users/hueniverse/repos","events_url":"https://api.github.com/users/hueniverse/events{/privacy}","received_events_url":"https://api.github.com/users/hueniverse/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hapijs/joi/labels/breaking%20changes","name":"breaking changes","color":"eb6420"},{"url":"https://api.github.com/repos/hapijs/joi/labels/dependency","name":"dependency","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-16T05:39:21Z","updated_at":"2016-10-03T11:24:17Z","closed_at":null,"body":"I really REALLY wants to get rid of the moment dependency.  My bet is that date validation is rarely used and we're all installing this gigantic module for no reason."},"comment":{"url":"https://api.github.com/repos/hapijs/joi/issues/comments/251083358","html_url":"https://github.com/hapijs/joi/issues/985#issuecomment-251083358","issue_url":"https://api.github.com/repos/hapijs/joi/issues/985","id":251083358,"user":{"login":"paulovieira","id":2184309,"avatar_url":"https://avatars.githubusercontent.com/u/2184309?v=3","gravatar_id":"","url":"https://api.github.com/users/paulovieira","html_url":"https://github.com/paulovieira","followers_url":"https://api.github.com/users/paulovieira/followers","following_url":"https://api.github.com/users/paulovieira/following{/other_user}","gists_url":"https://api.github.com/users/paulovieira/gists{/gist_id}","starred_url":"https://api.github.com/users/paulovieira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulovieira/subscriptions","organizations_url":"https://api.github.com/users/paulovieira/orgs","repos_url":"https://api.github.com/users/paulovieira/repos","events_url":"https://api.github.com/users/paulovieira/events{/privacy}","received_events_url":"https://api.github.com/users/paulovieira/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T11:24:17Z","updated_at":"2016-10-03T11:24:17Z","body":"fecha might be an alternative. It's a small and has no dependencies.\r\n\r\nhttps://github.com/taylorhakes/fecha\r\n\r\nWorks well to parse a date in a string in some expected format. Example:\r\n```\r\nfecha.parse('10-12-10 14:15:16', 'YY-MM-DD HH:mm:ss');  // returns a Date object\r\nfecha.parse('10-12-10 14:15', 'YY-MM-DD HH:mm:ss');  // returns false\r\n```"}}
{"actor":{"display_login":"paulovieira"}}