fix whitespace and report times as localtime