diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-04-11 00:44:21 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-04-11 00:44:21 +0000 |
commit | ac3dfb81349a59b32952cb91df7a49ab8c4b0254 (patch) | |
tree | 93f62c1a4ca1252fef55ff06037e01442427d8cd | |
parent | 9d860e19d2aedc9dc672a037b7c2de728dd6477e (diff) | |
download | rockbox-ac3dfb81349a59b32952cb91df7a49ab8c4b0254.tar.gz rockbox-ac3dfb81349a59b32952cb91df7a49ab8c4b0254.zip |
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
-rw-r--r-- | apps/recorder/recording.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
130 | 130 | ||
131 | tm = get_time(); | 131 | tm = get_time(); |
132 | 132 | ||
133 | /* Create a filename: RYYMMDDHHMMSS.mp3 */ | 133 | /* Create a filename: RYYMMDD-HHMMSS.mp3 */ |
134 | snprintf(fname, 32, "/R%02d%02d%02d%02d%02d%02d.mp3", | 134 | snprintf(fname, 32, "/R%02d%02d%02d-%02d%02d%02d.mp3", |
135 | tm->tm_year%100, tm->tm_mon+1, tm->tm_mday, | 135 | tm->tm_year%100, tm->tm_mon+1, tm->tm_mday, |
136 | tm->tm_hour, tm->tm_min, tm->tm_sec); | 136 | tm->tm_hour, tm->tm_min, tm->tm_sec); |
137 | 137 | ||