From 4a5009fbdaec9396a006009198de784e6bb7d853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Tue, 16 Mar 2010 23:05:22 +0000 Subject: [PATCH] Use dot instead of dash for date and time postfixes in filenames --- src/dvr/dvr_db.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dvr/dvr_db.c b/src/dvr/dvr_db.c index d14651df..ec5d2361 100644 --- a/src/dvr/dvr_db.c +++ b/src/dvr/dvr_db.c @@ -84,12 +84,12 @@ dvr_make_title(char *output, size_t outlen, dvr_entry_t *de) if(dvr_flags & DVR_DATE_IN_TITLE) { strftime(buf, sizeof(buf), "%F", &tm); - snprintf(output + strlen(output), outlen - strlen(output), "-%s", buf); + snprintf(output + strlen(output), outlen - strlen(output), ".%s", buf); } if(dvr_flags & DVR_TIME_IN_TITLE) { strftime(buf, sizeof(buf), "%H-%M", &tm); - snprintf(output + strlen(output), outlen - strlen(output), "-%s", buf); + snprintf(output + strlen(output), outlen - strlen(output), ".%s", buf); } if(dvr_flags & DVR_EPISODE_IN_TITLE) {