1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +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) % conky(1)
% %
% 2012-05-03 % {{ date }}
# NAME # NAME
@ -270,7 +270,7 @@ experiment.
# COPYING # 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 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 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 the GPL (see LICENSE.GPL for a copy), except where noted differently

View File

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