Fixed a bug in the dd_mm_yyyy and yyyy_mm_dd fields