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:
parent
9d860e19d2
commit
ac3dfb8134
1 changed files with 2 additions and 2 deletions
|
|
@ -130,8 +130,8 @@ static char *create_filename(void)
|
||||||
|
|
||||||
tm = get_time();
|
tm = get_time();
|
||||||
|
|
||||||
/* Create a filename: RYYMMDDHHMMSS.mp3 */
|
/* Create a filename: RYYMMDD-HHMMSS.mp3 */
|
||||||
snprintf(fname, 32, "/R%02d%02d%02d%02d%02d%02d.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_year%100, tm->tm_mon+1, tm->tm_mday,
|
||||||
tm->tm_hour, tm->tm_min, tm->tm_sec);
|
tm->tm_hour, tm->tm_min, tm->tm_sec);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue