aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/bugs.json
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/bugs.json')
-rw-r--r--tmpl/bugs.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmpl/bugs.json b/tmpl/bugs.json
index 375e7f7..53da837 100644
--- a/tmpl/bugs.json
+++ b/tmpl/bugs.json
@@ -1,9 +1,10 @@
+[%- USE date -%]
[
[%- FOR adv IN advdb.sorted -%]
[% USE advid = String(basename.ID(adv)) -%]
[% IF advid.search('^MGAA-') -%]
[%- "," IF gotone %]
-{"id": "[% basename.ID(adv) %]"}
+{"id": "[% basename.ID(adv) %]","modified": "[% date.format(advdb.advisories.$adv.status.modified, format => '%Y-%m-%dT%H:%M:%SZ', gmt => 1) %]"}
[%- SET gotone = 1 %]
[%- END %]
[%- END %]