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

--HG--
extra : source : c4c81f64c1e9994515215c0aa8d8157be563c66b