mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-06 03:18:01 -05:00
Fix for sickragetv/sickrage-issues#249
This commit is contained in:
parent
b669195882
commit
60e97fb3cc
@ -1,4 +1,5 @@
|
||||
#import sickbeard
|
||||
#import calendar
|
||||
#import datetime
|
||||
#from sickbeard.common import *
|
||||
#from sickbeard import db, sbdatetime, network_timezones
|
||||
@ -330,7 +331,7 @@ $myShowList.sort(lambda x, y: cmp(x.name, y.name))
|
||||
|
||||
#set $data_date = '6000000000.0'
|
||||
#if $cur_airs_next:
|
||||
#set $data_date = $time.mktime($sbdatetime.sbdatetime.convert_to_setting($network_timezones.parse_date_time($cur_airs_next,$curShow.airs,$curShow.network)).timetuple())
|
||||
#set $data_date = $calendar.timegm($sbdatetime.sbdatetime.convert_to_setting($network_timezones.parse_date_time($cur_airs_next,$curShow.airs,$curShow.network)).timetuple())
|
||||
#else if None is not $display_status
|
||||
#if 'nded' not in $display_status and 1 == int($curShow.paused)
|
||||
#set $data_date = '5000000500.0'
|
||||
@ -528,7 +529,7 @@ $myShowList.sort(lambda x, y: cmp(x.name, y.name))
|
||||
|
||||
#if $cur_airs_next
|
||||
#set $ldatetime = $sbdatetime.sbdatetime.convert_to_setting($network_timezones.parse_date_time($cur_airs_next,$curShow.airs,$curShow.network))
|
||||
<td align="center" class="nowrap"><div class="${fuzzydate}">$sbdatetime.sbdatetime.sbfdate($ldatetime)</div><span class="sort_data">$time.mktime($ldatetime.timetuple())</span></td>
|
||||
<td align="center" class="nowrap"><div class="${fuzzydate}">$sbdatetime.sbdatetime.sbfdate($ldatetime)</div><span class="sort_data">$calendar.timegm($ldatetime.timetuple())</span></td>
|
||||
#else:
|
||||
<td align="center" class="nowrap"></td>
|
||||
#end if
|
||||
|
Loading…
Reference in New Issue
Block a user