Bug parsing date and datetime fixed.