core: use one date format when day changes from day to day+1