Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update copyright notice to dynamically display current year #111

Merged
merged 1 commit into from
May 18, 2024
Merged

Update copyright notice to dynamically display current year #111

merged 1 commit into from
May 18, 2024

Conversation

vishnuvardhanreddy31
Copy link
Contributor

Replace the static copyright year with JavaScript code that dynamically generates the current year using new Date().getFullYear(). This ensures that the copyright notice automatically updates to the current year without requiring manual intervention. This change improves the maintainability of the codebase by keeping the copyright notice accurate without needing to edit it each year.

Title and Issue number

Title : Update Copyright Notice to Dynamically Display Current Year

Issue No. : 110

Close #110

Changes Made

  1. Replaced static copyright year with dynamic JavaScript code to display the current year.
  2. Updated the copyright notice format to reflect the change.

Screenshots (if applicable)

Previous Existing one:

image

New Modified One:

image

Checklist

  • [*] I have tested these changes locally.
  • [*] I have reviewed the code and ensured it follows the project's coding standards.
  • I have updated the documentation (if necessary).
  • [*] I have read the contributing guidelines.

Replace the static copyright year with JavaScript code that dynamically generates the current year using `new Date().getFullYear()`. This ensures that the copyright notice automatically updates to the current year without requiring manual intervention. This change improves the maintainability of the codebase by keeping the copyright notice accurate without needing to edit it each year.
Copy link

vercel bot commented May 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
shop-nex ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 9, 2024 8:25am

@JiyaGupta-cs JiyaGupta-cs merged commit c06218f into JiyaGupta-cs:master May 18, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Copyright Notice to Dynamically Display Current Year
3 participants