]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Avoid using ':' in filenames
authorAndreas Öman <andreas@lonelycoder.com>
Sun, 15 Nov 2009 21:21:21 +0000 (21:21 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sun, 15 Nov 2009 21:21:21 +0000 (21:21 +0000)
src/dvr/dvr_db.c

index 48ee11942ecc76e75c720227ac726ea47218661d..4141b2b03ff5e5682210e734793f22c60e7547c7 100644 (file)
@@ -89,7 +89,7 @@ dvr_make_title(char *output, size_t outlen, const char *title,
   }
 
   if(dvr_flags & DVR_TIME_IN_TITLE) {
-    strftime(buf, sizeof(buf), "%R", &tm);
+    strftime(buf, sizeof(buf), "%H-%M", &tm);
     snprintf(output + strlen(output), outlen - strlen(output), "-%s", buf);
   }
 }