We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5561158 commit 726270fCopy full SHA for 726270f
docs/conf.py
@@ -78,8 +78,14 @@
78
79
# General information about the project.
80
project = "Adafruit's DS3231 RTC Library"
81
+creation_year = "2016"
82
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Philip Moyer"
83
+year_duration = (
84
+ current_year
85
+ if current_year == creation_year
86
+ else creation_year + " - " + current_year
87
+)
88
+copyright = year_duration + " Philip Moyer"
89
author = "Philip Moyer"
90
91
# The version info for the project you're documenting, acts as replacement for
0 commit comments