date editing fix, fallout from date_format