[legacy] increase negative time to 1 day by 'deleting' cookies
clear trailing whitespaces