Skip to content

Make the Copyright Year Dynamic #230

@we-nita

Description

@we-nita

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:
image

Requirement/Document

No specific document is required for this feature; it's a straightforward implementation using JavaScript.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions