diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status index b7c2f80e..c0bdd1b6 100755 --- a/devel/nmbug/nmbug-status +++ b/devel/nmbug/nmbug-status @@ -275,8 +275,10 @@ parser.add_argument('--get-query', help='get query for view', args = parser.parse_args() config = read_config(path=args.config) +now = datetime.datetime.utcnow() context = { - 'date': datetime.datetime.utcnow(), + 'date': now, + 'datetime': now.strftime('%Y-%m-%d %H:%M:%SZ'), 'title': config['meta']['title'], 'blurb': config['meta']['blurb'], 'encoding': _ENCODING, @@ -339,7 +341,7 @@ _PAGES['html'] = HtmlPage( '''.format(**context), footer='''
Generated: {date} +
Generated: {datetime}