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 0f52a8f commit 9b98740Copy full SHA for 9b98740
docs/conf.py
@@ -59,8 +59,14 @@
59
60
# General information about the project.
61
project = "Adafruit PCF8523 RTC Library"
62
+creation_year = "2016"
63
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Philip Moyer"
64
+year_duration = (
65
+ current_year
66
+ if current_year == creation_year
67
+ else creation_year + " - " + current_year
68
+)
69
+copyright = year_duration + " Philip Moyer"
70
author = "Philip Moyer"
71
72
# The version info for the project you're documenting, acts as replacement for
0 commit comments