aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tmpl/index.html3
-rw-r--r--tmpl/index.json1
2 files changed, 3 insertions, 1 deletions
diff --git a/tmpl/index.html b/tmpl/index.html
index e18c3fe..d5c482a 100644
--- a/tmpl/index.html
+++ b/tmpl/index.html
@@ -174,7 +174,8 @@
Some data is available in json format :
<ul>
<li><a href="index.json">index.json</a>: balance, donations received in
- the last 30 days, and the list of the last 10 donations</li>
+ the last 30 days, time of last update and the list of the last 10
+ donations</li>
<li><a href="donations_who.json">donations_who.json</a>: list of people
who donated money to Mageia.Org.</li>
</ul>
diff --git a/tmpl/index.json b/tmpl/index.json
index 1f60acf..b6102d7 100644
--- a/tmpl/index.json
+++ b/tmpl/index.json
@@ -5,6 +5,7 @@
SET out.balance = transactions.balance.bstr;
SET out.donations_30days = donations.total_30.bstr;
SET out.last_donations = [];
+ SET out.last_update = date.format(last_update, format => '%Y/%m/%d %H:%M:%S');
SET i=0;
SET l=10;
FOREACH don IN donations.donations.sort('date').reverse;