Fixed bug: If no date format is given, use default