diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/recorder/recording.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index adcea752d4..ade7e5146f 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -143,7 +143,7 @@ static char *create_filename(void) /* Create a filename: RYYMMDDHHMMSS.mp3 */ snprintf(fname, 32, "/R%02d%02d%02d%02d%02d%02d.mp3", - tm->tm_year%100, tm->tm_mon, tm->tm_mday, + tm->tm_year%100, tm->tm_mon+1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec); DEBUGF("Filename: %s\n", fname); |