diff options
author | Christoph Brill <egore911@egore911.de> | 2012-02-02 13:38:06 +0100 |
---|---|---|
committer | Christoph Brill <egore911@egore911.de> | 2012-03-26 00:15:41 +0200 |
commit | 4dfb7217125573470d9c6667139dbb5f0dc28398 (patch) | |
tree | d19feb12142c57a9e848adc335c4ca4a35d1031c /json.php | |
parent | ba86117ed744c59c87842b8fddf3a21f6d68640a (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.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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(); |