RE: tv_grab_zz_sdjson patches » tv_grab_zz_sdjson_sqlite.patch
tv_grab_zz_sdjson_sqlite 2017-10-03 09:57:08.576347223 -0700 → tv_grab_zz_sdjson_sqlite 2017-09-22 13:22:00.512171274 -0700 | ||
---|---|---|
1777 | 1777 | |
1778 | 1778 |
# XMLTV uses their standardized dates, while Schedules |
1779 | 1779 |
# Direct uses YYYY-MM-DD |
1780 |
if (defined($programDetails->{'originalAirDate'})) |
|
1780 |
# If "new", then do not generate previously-shown |
|
1781 |
if (defined($scheduleDetails->{'new'})) |
|
1782 |
{ |
|
1783 |
my $new = $scheduleDetails->{'new'}; |
|
1784 |
$w->emptyTag('new'); |
|
1785 |
} |
|
1786 |
elsif (defined($programDetails->{'originalAirDate'})) |
|
1781 | 1787 |
{ |
1782 | 1788 |
my $originalAirDate = $programDetails->{'originalAirDate'}; |
1783 | 1789 |
my $offset = ' +0000'; |