1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 04:06:03 +00:00

Fix dates in man page.

This commit is contained in:
Brenden Matthews 2022-10-16 12:15:10 -05:00
parent 669532ffc0
commit 186f2162d7
No known key found for this signature in database
GPG Key ID: B49ABB7270D9D4FD
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
% conky(1)
%
% 2012-05-03
% {{ date }}
# NAME
@ -270,7 +270,7 @@ experiment.
# COPYING
Copyright (c) 2005-2022 Brenden Matthews, Philip Kovacs, et. al. Any
Copyright (c) 2005-{{ copyright_year }} Brenden Matthews, Philip Kovacs, et. al. Any
original torsmo code is licensed under the BSD license (see LICENSE.BSD
for a copy). All code written since the fork of torsmo is licensed under
the GPL (see LICENSE.GPL for a copy), except where noted differently

View File

@ -3,6 +3,7 @@
import sys
import os
import yaml
import datetime
base_path = os.path.dirname(os.path.realpath(__file__))
@ -19,6 +20,8 @@ data = {
"config_settings": config_settings,
"variables": variables,
"lua": lua,
"date": datetime.date.today().isoformat(),
"copyright_year": datetime.date.today().year,
}
from jinja2 import Environment, FileSystemLoader, select_autoescape