record extra time is in minutes, not seconds. Ticket #124

This commit is contained in:
Andreas Öman 2009-11-26 20:37:36 +00:00
parent d8829bf604
commit d043666f9f

View file

@ -173,7 +173,7 @@ dvr_entry_create_by_event(event_t *e, const char *creator)
dvr_entry_link(de);
t = de->de_start - de->de_start_extra;
t = de->de_start - de->de_start_extra * 60;
localtime_r(&t, &tm);
strftime(tbuf, sizeof(tbuf), "%c", &tm);