projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
806e7e6
)
MTrackWeb/Timeline.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 1 Aug 2011 09:58:13 +0000
(17:58 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 1 Aug 2011 09:58:13 +0000
(17:58 +0800)
MTrackWeb/Timeline.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/Timeline.php
b/MTrackWeb/Timeline.php
index
6b255e3
..
60efb33
100644
(file)
--- a/
MTrackWeb/Timeline.php
+++ b/
MTrackWeb/Timeline.php
@@
-67,7
+67,7
@@
class MTrackWeb_Timeline extends MTrackWeb
$day = date('D, M d Y', $ts);
$time = date('g:ia', $ts);
//print_r($ent);
- if (
$day !== $last_day
) {
+ if (
($day !== $last_day) && empty($_REQUEST['json'])
) {
$this->events[] = (object) array(
'isday' => 1,
'day' => $day