Fix for date field to accept dd.mm.yyyy format