fix to handle day already existing without any timestamps