Fix bug where d/m/Y date format was being assumed