Update function to take in date
Update function to take in date

Makes things easier to test

shiftkey/desktop,j-f1/forked-desktop,say25/desktop,desktop/desktop,say25/desktop,shiftkey/desktop,desktop/desktop,say25/desktop,kactus-io/kactus,desktop/desktop,kactus-io/kactus,kactus-io/kactus,j-f1/forked-desktop,artivilla/desktop,kactus-io/kactus,artivilla/desktop,shiftkey/desktop,desktop/desktop,j-f1/forked-desktop,say25/desktop,shiftkey/desktop,artivilla/desktop,artivilla/desktop,j-f1/forked-desktop