Improve time parsing from map file