More changes to parseDate to to have the old behaviour when used in grid.