aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/advisory.txt
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-17 16:23:28 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-17 16:23:28 +0000
commitdc7f301d1dcc35643484f2c88f6e41eed41b67d8 (patch)
tree2619ed3fb135f1925e9c2963c5942a6ebef9e62c /tmpl/advisory.txt
parentb5c7118178269a1674f368eae22045be766dd4c4 (diff)
downloadmgaadvisories-dc7f301d1dcc35643484f2c88f6e41eed41b67d8.tar
mgaadvisories-dc7f301d1dcc35643484f2c88f6e41eed41b67d8.tar.gz
mgaadvisories-dc7f301d1dcc35643484f2c88f6e41eed41b67d8.tar.bz2
mgaadvisories-dc7f301d1dcc35643484f2c88f6e41eed41b67d8.tar.xz
mgaadvisories-dc7f301d1dcc35643484f2c88f6e41eed41b67d8.zip
Fix display of publication date
Diffstat (limited to 'tmpl/advisory.txt')
-rw-r--r--tmpl/advisory.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpl/advisory.txt b/tmpl/advisory.txt
index 2094722..016df71 100644
--- a/tmpl/advisory.txt
+++ b/tmpl/advisory.txt
@@ -2,7 +2,7 @@
[%- SET adv = advdb.advisories.$advisory -%]
[% advisory %] - [% adv.subject %]
-Publication date: [% date.format(adv.pubtime, format => '%d %b %Y', gmt => 1) %]
+Publication date: [% date.format(adv.status.published, format => '%d %b %Y', gmt => 1) %]
URL: [% config.site_url %]/[% basename.ID(advisory) %].html
Type: [% adv.type %]
Affected Mageia releases: [% adv.src.keys.sort.join(', ') %]