{"action":"opened","issue":{"url":"https://api.github.com/repos/himleyb85/recession_survivor/issues/125","labels_url":"https://api.github.com/repos/himleyb85/recession_survivor/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/himleyb85/recession_survivor/issues/125/comments","events_url":"https://api.github.com/repos/himleyb85/recession_survivor/issues/125/events","html_url":"https://github.com/himleyb85/recession_survivor/issues/125","id":53287087,"number":125,"title":"Business date","user":{"login":"wmantly","id":6242401,"avatar_url":"https://avatars.githubusercontent.com/u/6242401?v=3","gravatar_id":"","url":"https://api.github.com/users/wmantly","html_url":"https://github.com/wmantly","followers_url":"https://api.github.com/users/wmantly/followers","following_url":"https://api.github.com/users/wmantly/following{/other_user}","gists_url":"https://api.github.com/users/wmantly/gists{/gist_id}","starred_url":"https://api.github.com/users/wmantly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmantly/subscriptions","organizations_url":"https://api.github.com/users/wmantly/orgs","repos_url":"https://api.github.com/users/wmantly/repos","events_url":"https://api.github.com/users/wmantly/events{/privacy}","received_events_url":"https://api.github.com/users/wmantly/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/himleyb85/recession_survivor/labels/core","name":"core","color":"e11d21"},{"url":"https://api.github.com/repos/himleyb85/recession_survivor/labels/Portfolio","name":"Portfolio","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-03T00:01:15Z","updated_at":"2015-01-03T00:01:15Z","closed_at":null,"body":"In the portfolio object, there needs to a function that will take a date and return the date if its a business day, or the last business prior to the date. If the passed date is a Saturday or Sunday, it needs to return the date of the Friday before.\r\n\r\nThe project can be done with out this, but it would great if we can do this.\r\n\r\nIt would be a big plus if it can also handle US bank holidays is the same way, this may help;\r\nhttp://stackoverflow.com/questions/14203708/is-there-a-comprehensive-api-or-json-xml-list-with-public-bank-holidays-worldwid "}}