Datetime to date and ordered by such for print_issues