changed date format for directory