Fix date/time place holders in generate_filename()