Fix formatting error on date