Separate date and media for front end queries, easier date handling for #9.