{"push_id":1212224460,"size":6,"distinct_size":1,"ref":"refs/heads/master","head":"1f78afbd0a005d48f7fffd71a4c3c15c3b4ff649","before":"1bbe80e2c717d2bf5d9437029810ed2373520aeb","commits":[{"sha":"566026e8589c18de3e1b913be35ada6284baa6b2","author":{"name":"Alice Bartlett","email":"9cd4b00e0b058b916c04f853d34969eda953e559@ft.com"},"message":"Refactor main.js to make testing easier\n\nThis commit:\n1. Makes toDate() a public function so we can test it easier. This function is\ncalled in a lot of places and does the heavy lifting for the date formatting\nso it benfits from being exposed so we can unit test it.\n2. Extracts the interval calculation to a function called getIntervalBetween().\nAgain, this will help us write unit tests.","distinct":false,"url":"https://api.github.com/repos/Financial-Times/o-date/commits/566026e8589c18de3e1b913be35ada6284baa6b2"},{"sha":"2e8b729273670e3eb0565fb1a947411826444549","author":{"name":"Alice Bartlett","email":"9cd4b00e0b058b916c04f853d34969eda953e559@ft.com"},"message":"Refactor ftTime\n\nExtract interval calculations into individual functions. These could be further\nrefactored probably.","distinct":false,"url":"https://api.github.com/repos/Financial-Times/o-date/commits/2e8b729273670e3eb0565fb1a947411826444549"},{"sha":"c8dbf4a2baa41bc302664d336995151e8955c717","author":{"name":"Alice Bartlett","email":"9cd4b00e0b058b916c04f853d34969eda953e559@ft.com"},"message":"Refactor ODate.asTodayOrYesterdayOrNothing\n\nRefactor this function to use the new funcs we extracted from refactoring ftformat","distinct":false,"url":"https://api.github.com/repos/Financial-Times/o-date/commits/c8dbf4a2baa41bc302664d336995151e8955c717"},{"sha":"452bd71b0352c04094057ac03f0bfbcb501678e7","author":{"name":"Alice Bartlett","email":"9cd4b00e0b058b916c04f853d34969eda953e559@ft.com"},"message":"Fix linting","distinct":false,"url":"https://api.github.com/repos/Financial-Times/o-date/commits/452bd71b0352c04094057ac03f0bfbcb501678e7"},{"sha":"31337d5890bb12bb8561057fb49a27e7799339c1","author":{"name":"Alice Bartlett","email":"9cd4b00e0b058b916c04f853d34969eda953e559@ft.com"},"message":"add comments back in","distinct":false,"url":"https://api.github.com/repos/Financial-Times/o-date/commits/31337d5890bb12bb8561057fb49a27e7799339c1"},{"sha":"1f78afbd0a005d48f7fffd71a4c3c15c3b4ff649","author":{"name":"Alice Bartlett","email":"9cd4b00e0b058b916c04f853d34969eda953e559@googlemail.com"},"message":"Merge pull request #58 from Financial-Times/refactor-for-testing\n\nRefactor for testing","distinct":true,"url":"https://api.github.com/repos/Financial-Times/o-date/commits/1f78afbd0a005d48f7fffd71a4c3c15c3b4ff649"}]}
{"actor":{"display_login":"alicebartlett"}}