Make the Copyright Year Dynamic #230
Labels
gssoc-ext
GSSoc Extended
hacktoberfest
Hactober Fest 2024
hacktoberfest-accepted
Hactober Fest 2024
level1
GSSoc Extended Level 1 Points
Is your proposal related to a problem?
Currently, the copyright year is hardcoded as 2024 in the footer section. This creates a maintenance burden since it has to be updated manually every year
Describe the solution you'd like
I would like to make the copyright year dynamic. By using JavaScript, the year can be fetched automatically, ensuring that it always reflects the current year without manual intervention.
Describe alternatives you've considered
I considered leaving the hardcoded year and simply updating it manually each year, but this approach is prone to human error and inefficiency.
Additional context
This solution would improve the maintainability of the footer. A similar issue has been raised in another repository where I contributed a dynamic solution. This would bring consistency across projects and save time for future updates.
Here is a screenshot showing the hardcoded 2024 year in the footer section of the code:
Requirement/Document
No specific document is required for this feature; it's a straightforward implementation using JavaScript.
The text was updated successfully, but these errors were encountered: