fix parsing date and datetime using translated days and months