Fixing bug 1243, dd.mm.yyyy format doesn't work.