{"comment":{"url":"https://api.github.com/repos/phenotips/phenotips/comments/13937542","html_url":"https://github.com/phenotips/phenotips/commit/0605de1fdb31e189d1923ec084dd524f8a3a52bc#commitcomment-13937542","id":13937542,"user":{"login":"allasm","id":4990078,"avatar_url":"https://avatars.githubusercontent.com/u/4990078?v=3","gravatar_id":"","url":"https://api.github.com/users/allasm","html_url":"https://github.com/allasm","followers_url":"https://api.github.com/users/allasm/followers","following_url":"https://api.github.com/users/allasm/following{/other_user}","gists_url":"https://api.github.com/users/allasm/gists{/gist_id}","starred_url":"https://api.github.com/users/allasm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allasm/subscriptions","organizations_url":"https://api.github.com/users/allasm/orgs","repos_url":"https://api.github.com/users/allasm/repos","events_url":"https://api.github.com/users/allasm/events{/privacy}","received_events_url":"https://api.github.com/users/allasm/received_events","type":"User","site_admin":false},"position":10,"line":90,"path":"components/pedigree/resources/src/main/resources/pedigree/view/printEngine.js","commit_id":"0605de1fdb31e189d1923ec084dd524f8a3a52bc","created_at":"2015-10-22T20:40:31Z","updated_at":"2015-10-22T20:40:31Z","body":"because JavaScript getMonth() is 0-based (and human-readable months are 1-based). The fix uses a PedigreeDate wrapper around the date, which has convenient getMonthName() absent in JS built-in Date, as well as getBestPrecisionStringDDMMYYY() which does the months correctly (plus incapsulates JS Date year mayhem - all those 1900 + ....)"}}