Fix my stupid error by changing 'date' to 'day'