From ac3dfb81349a59b32952cb91df7a49ab8c4b0254 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Fri, 11 Apr 2003 00:44:21 +0000 Subject: Separated the date and the time in the recording file names git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3529 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/recording.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/recorder') diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 3696349a6f..cf295db19c 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -130,8 +130,8 @@ static char *create_filename(void) tm = get_time(); - /* Create a filename: RYYMMDDHHMMSS.mp3 */ - snprintf(fname, 32, "/R%02d%02d%02d%02d%02d%02d.mp3", + /* Create a filename: RYYMMDD-HHMMSS.mp3 */ + snprintf(fname, 32, "/R%02d%02d%02d-%02d%02d%02d.mp3", tm->tm_year%100, tm->tm_mon+1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec); -- cgit v1.2.3