{"action":"created","issue":{"url":"https://api.github.com/repos/cfpb/hmda-pilot/issues/328","labels_url":"https://api.github.com/repos/cfpb/hmda-pilot/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/cfpb/hmda-pilot/issues/328/comments","events_url":"https://api.github.com/repos/cfpb/hmda-pilot/issues/328/events","html_url":"https://github.com/cfpb/hmda-pilot/issues/328","id":65486509,"number":328,"title":"Format report values based file spec","user":{"login":"poorgeek","id":489299,"avatar_url":"https://avatars.githubusercontent.com/u/489299?v=3","gravatar_id":"","url":"https://api.github.com/users/poorgeek","html_url":"https://github.com/poorgeek","followers_url":"https://api.github.com/users/poorgeek/followers","following_url":"https://api.github.com/users/poorgeek/following{/other_user}","gists_url":"https://api.github.com/users/poorgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/poorgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poorgeek/subscriptions","organizations_url":"https://api.github.com/users/poorgeek/orgs","repos_url":"https://api.github.com/users/poorgeek/repos","events_url":"https://api.github.com/users/poorgeek/events{/privacy}","received_events_url":"https://api.github.com/users/poorgeek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cfpb/hmda-pilot/labels/est:3","name":"est:3","color":"d4c5f9"},{"url":"https://api.github.com/repos/cfpb/hmda-pilot/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/cfpb/hmda-pilot/labels/story","name":"story","color":"84b6eb"},{"url":"https://api.github.com/repos/cfpb/hmda-pilot/labels/ui","name":"ui","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"poorgeek","id":489299,"avatar_url":"https://avatars.githubusercontent.com/u/489299?v=3","gravatar_id":"","url":"https://api.github.com/users/poorgeek","html_url":"https://github.com/poorgeek","followers_url":"https://api.github.com/users/poorgeek/followers","following_url":"https://api.github.com/users/poorgeek/following{/other_user}","gists_url":"https://api.github.com/users/poorgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/poorgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poorgeek/subscriptions","organizations_url":"https://api.github.com/users/poorgeek/orgs","repos_url":"https://api.github.com/users/poorgeek/repos","events_url":"https://api.github.com/users/poorgeek/events{/privacy}","received_events_url":"https://api.github.com/users/poorgeek/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/cfpb/hmda-pilot/milestones/10","html_url":"https://github.com/cfpb/hmda-pilot/milestones/09%20Additional%20Features","labels_url":"https://api.github.com/repos/cfpb/hmda-pilot/milestones/10/labels","id":873058,"number":10,"title":"09 Additional Features","description":"","creator":{"login":"jmarin","id":438146,"avatar_url":"https://avatars.githubusercontent.com/u/438146?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarin","html_url":"https://github.com/jmarin","followers_url":"https://api.github.com/users/jmarin/followers","following_url":"https://api.github.com/users/jmarin/following{/other_user}","gists_url":"https://api.github.com/users/jmarin/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarin/subscriptions","organizations_url":"https://api.github.com/users/jmarin/orgs","repos_url":"https://api.github.com/users/jmarin/repos","events_url":"https://api.github.com/users/jmarin/events{/privacy}","received_events_url":"https://api.github.com/users/jmarin/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":0,"state":"open","created_at":"2014-11-19T16:53:26Z","updated_at":"2015-04-01T14:21:39Z","due_on":"2015-04-10T04:00:00Z","closed_at":null},"comments":3,"created_at":"2015-03-31T16:07:45Z","updated_at":"2015-04-02T15:16:42Z","closed_at":null,"body":"As CFPB\r\nI want to apply formatting to the number values that appear in HMDA Pilot\r\nSo that numbers, dates, percentages, etc... are reflected correctly.\r\n\r\nAcceptance Criteria\r\n* Numerical values are formatted in the UI to match their defined format from the file-spec, where \r\nappropriate:\r\n * *Percent* - 12.34 will be displayed as 12.34%\r\n * *Currency* (represented in thousands) - 1234 will be displayed as $1,234,000\r\n * *Dates* - 20150402 will be displayed as 4/2/2015\r\n * *Dates with times* - 201504021330 will be displayed as 4/2/2015 13:30\r\n* Calculations are formatted to based on text-matching from their associated label:\r\n * Label starts with *% of* formats the value as %\r\n * Label starts with *% Difference* formats the value as %\r\n\r\n\r\nTasks\r\n- [ ] Apply formatting to values defined in the file-spec\r\n * Note: This only applies to the syntactical, validity and quality detail views\r\n- [ ] Apply formatting to values where that are not defined in the file-spec\r\n * Note: This only applies to the labels created for the calculations in the macro edits\r\n\r\nRelated to: #263\r\n"},"comment":{"url":"https://api.github.com/repos/cfpb/hmda-pilot/issues/comments/88941699","html_url":"https://github.com/cfpb/hmda-pilot/issues/328#issuecomment-88941699","issue_url":"https://api.github.com/repos/cfpb/hmda-pilot/issues/328","id":88941699,"user":{"login":"ericspry","id":2027141,"avatar_url":"https://avatars.githubusercontent.com/u/2027141?v=3","gravatar_id":"","url":"https://api.github.com/users/ericspry","html_url":"https://github.com/ericspry","followers_url":"https://api.github.com/users/ericspry/followers","following_url":"https://api.github.com/users/ericspry/following{/other_user}","gists_url":"https://api.github.com/users/ericspry/gists{/gist_id}","starred_url":"https://api.github.com/users/ericspry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericspry/subscriptions","organizations_url":"https://api.github.com/users/ericspry/orgs","repos_url":"https://api.github.com/users/ericspry/repos","events_url":"https://api.github.com/users/ericspry/events{/privacy}","received_events_url":"https://api.github.com/users/ericspry/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T15:16:42Z","updated_at":"2015-04-02T15:16:42Z","body":"Yup. Totally works for me. 👍\r\n"}}