1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Linus Nielsen Feltzing 2003-04-11 00:44:21 +00:00
parent 9d860e19d2
commit ac3dfb8134

View file

@ -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);