projects
/
lib.XML_Tv
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a003480
)
Tv.php
author
Alan Knowles
<alan@akbkhome.com>
Sat, 29 Oct 2011 11:33:16 +0000
(19:33 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 29 Oct 2011 11:33:16 +0000
(19:33 +0800)
Tv.php
patch
|
blob
|
history
diff --git
a/Tv.php
b/Tv.php
index
0bd6204
..
ea8cd44
100644
(file)
--- a/
Tv.php
+++ b/
Tv.php
@@
-415,7
+415,7
@@
class XML_Tv
}
foreach($sched as $item) {
$item['day'] = $day;
- $this->debug(print_r($item, true));
+
$bits = explode(':', $item['hour']);
if ($bits[0] < $last) {
$hoffset +=12;
@@
-434,6
+434,7
@@
class XML_Tv
if ($start < strtotime('NOW - 1 DAY')) {
continue;
}
+ $this->debug(print_r($item, true));
$start_str = date('YmdHis',$start) . ' ' . $this->config['gmtoffset'];
//var_dump($start_str);
//var_dump($this->channels);