summaryrefslogtreecommitdiff
path: root/json.php
diff options
context:
space:
mode:
authorChristoph Brill <egore911@egore911.de>2012-02-02 13:38:06 +0100
committerChristoph Brill <egore911@egore911.de>2012-03-26 00:15:41 +0200
commit4dfb7217125573470d9c6667139dbb5f0dc28398 (patch)
treed19feb12142c57a9e848adc335c4ca4a35d1031c /json.php
parentba86117ed744c59c87842b8fddf3a21f6d68640a (diff)
Deliver the max. valid date in the return value
This allows the client to find out why no data gets returned.
Diffstat (limited to 'json.php')
-rw-r--r--json.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/json.php b/json.php
index 3f71ec6..7705332 100644
--- a/json.php
+++ b/json.php
@@ -63,6 +63,7 @@ header("Content-type: application/json;");
$retval = array();
+$retval['maxdate'] = valid_date('today');
$retval['channel'] = $channel;
$retval['date'] = $date;
$retval['data'] = array();