Convert dvr time output to ISO format for fixed length.
This commit is contained in:
parent
75bda60058
commit
76d981efaa
1 changed files with 2 additions and 1 deletions
|
@ -326,7 +326,8 @@ static dvr_entry_t *_dvr_entry_create (
|
|||
|
||||
t = de->de_start - de->de_start_extra * 60;
|
||||
localtime_r(&t, &tm);
|
||||
strftime(tbuf, sizeof(tbuf), "%c", &tm);
|
||||
if (strftime(tbuf, sizeof(tbuf), "%F %T", &tm) <= 0)
|
||||
*tbuf = 0;
|
||||
|
||||
if(dae != NULL) {
|
||||
de->de_autorec = dae;
|
||||
|
|
Loading…
Add table
Reference in a new issue