Skip to content

Commit 9d255cd

Browse files
authored
Merge pull request #7056 from kenjis/update-userguide-copyright-year
chore: update User Guide copyright year
2 parents 72adf69 + 7e5d886 commit 9d255cd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

user_guide_src/source/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@
1212
#
1313
# import os
1414
# import sys
15+
import datetime
1516
# sys.path.insert(0, os.path.abspath('.'))
1617

1718
# -- Project information -----------------------------------------------------
1819

1920
project = 'CodeIgniter'
2021
author = 'CodeIgniter Foundation'
21-
copyright = '2019-2023 CodeIgniter Foundation'
22+
year_now = datetime.date.today().year
23+
copyright = '2019-' + str(year_now) + ' CodeIgniter Foundation'
2224

2325
# The short X.Y version.
2426
version = '4.2'
@@ -137,4 +139,4 @@
137139
epub_title = 'CodeIgniter4'
138140
epub_author = 'CodeIgniter Foundation'
139141
epub_publisher = 'CodeIgniter Foundation'
140-
epub_copyright = '2019-2022 CodeIgniter Foundation'
142+
epub_copyright = copyright

0 commit comments

Comments
 (0)