We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 223cb55 commit 609b316Copy full SHA for 609b316
docs/conf.py
@@ -47,8 +47,14 @@
47
48
# General information about the project.
49
project = "Adafruit datetime Library"
50
+creation_year = "2021"
51
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Brent Rubell"
52
+year_duration = (
53
+ current_year
54
+ if current_year == creation_year
55
+ else creation_year + " - " + current_year
56
+)
57
+copyright = year_duration + " Brent Rubell"
58
author = "Brent Rubell"
59
60
# The version info for the project you're documenting, acts as replacement for
0 commit comments