{"action":"created","issue":{"url":"https://api.github.com/repos/taigaio/taiga-front/issues/634","labels_url":"https://api.github.com/repos/taigaio/taiga-front/issues/634/labels{/name}","comments_url":"https://api.github.com/repos/taigaio/taiga-front/issues/634/comments","events_url":"https://api.github.com/repos/taigaio/taiga-front/issues/634/events","html_url":"https://github.com/taigaio/taiga-front/pull/634","id":104247332,"number":634,"title":"Adding Date field type to custom fields","user":{"login":"artlepool","id":8647257,"avatar_url":"https://avatars.githubusercontent.com/u/8647257?v=3","gravatar_id":"","url":"https://api.github.com/users/artlepool","html_url":"https://github.com/artlepool","followers_url":"https://api.github.com/users/artlepool/followers","following_url":"https://api.github.com/users/artlepool/following{/other_user}","gists_url":"https://api.github.com/users/artlepool/gists{/gist_id}","starred_url":"https://api.github.com/users/artlepool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artlepool/subscriptions","organizations_url":"https://api.github.com/users/artlepool/orgs","repos_url":"https://api.github.com/users/artlepool/repos","events_url":"https://api.github.com/users/artlepool/events{/privacy}","received_events_url":"https://api.github.com/users/artlepool/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"juanfran","id":905195,"avatar_url":"https://avatars.githubusercontent.com/u/905195?v=3","gravatar_id":"","url":"https://api.github.com/users/juanfran","html_url":"https://github.com/juanfran","followers_url":"https://api.github.com/users/juanfran/followers","following_url":"https://api.github.com/users/juanfran/following{/other_user}","gists_url":"https://api.github.com/users/juanfran/gists{/gist_id}","starred_url":"https://api.github.com/users/juanfran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanfran/subscriptions","organizations_url":"https://api.github.com/users/juanfran/orgs","repos_url":"https://api.github.com/users/juanfran/repos","events_url":"https://api.github.com/users/juanfran/events{/privacy}","received_events_url":"https://api.github.com/users/juanfran/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-09-01T11:41:25Z","updated_at":"2015-09-09T11:03:39Z","closed_at":"2015-09-09T10:17:28Z","pull_request":{"url":"https://api.github.com/repos/taigaio/taiga-front/pulls/634","html_url":"https://github.com/taigaio/taiga-front/pull/634","diff_url":"https://github.com/taigaio/taiga-front/pull/634.diff","patch_url":"https://github.com/taigaio/taiga-front/pull/634.patch"},"body":"This PR adds the ability to create a Date custom field.\r\n\r\nIt uses Pikaday for the data selector and validation, which I see was already in use for other date fields.\r\nIt also allows for an empty date to be saved in the case where the user might want to clear the date field.\r\n\r\nCurrent date validation is performed with the date format DD MMM YYYY (eg. 01 Sep 2015), which is the same as the New Sprint popup window for start and end dates\r\n\r\n - Are other date formats required to be supported?\r\n - The code blocks the user from saving an invalid date, but there is no message to inform them that the date they've entered is actually invalid, eg. \"Please enter a valid date\".  I wasn't sure how best to do this so if you think this is necessary then I would appreciate some advice!\r\n\r\nAlso, this PR does not cover server-side validation at the API level but I hope to work on that on taiga-back soon.\r\n\r\nLet me know what you think!"},"comment":{"url":"https://api.github.com/repos/taigaio/taiga-front/issues/comments/138876502","html_url":"https://github.com/taigaio/taiga-front/pull/634#issuecomment-138876502","issue_url":"https://api.github.com/repos/taigaio/taiga-front/issues/634","id":138876502,"user":{"login":"juanfran","id":905195,"avatar_url":"https://avatars.githubusercontent.com/u/905195?v=3","gravatar_id":"","url":"https://api.github.com/users/juanfran","html_url":"https://github.com/juanfran","followers_url":"https://api.github.com/users/juanfran/followers","following_url":"https://api.github.com/users/juanfran/following{/other_user}","gists_url":"https://api.github.com/users/juanfran/gists{/gist_id}","starred_url":"https://api.github.com/users/juanfran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanfran/subscriptions","organizations_url":"https://api.github.com/users/juanfran/orgs","repos_url":"https://api.github.com/users/juanfran/repos","events_url":"https://api.github.com/users/juanfran/events{/privacy}","received_events_url":"https://api.github.com/users/juanfran/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T11:03:39Z","updated_at":"2015-09-09T11:03:39Z","body":"we'll add the same validation for custom fields, thanks"}}