Dynamic footer year - #81
shivanshshri wants to merge 2 commits into
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Repository: alphaonelabs/coderabbit/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Hi, the PR is ready for review. The workflow is currently awaiting maintainer approval for the CodeRabbit review. Could a maintainer please approve the workflow when convenient? |
|
Thankyou @shivanshshri for the PR, but can you change the discription and share the before and after of website, not the code? |
@ghanshyam2005singh I changed the description with before and after implementation. |
|
@ghanshyam2005singh Thank you for approving the changes. but GitHub shows “1 workflow awaiting approval.” Could you please approve the workflow so it can run? |
Description
Replaced the hard-coded copyright year in the footer with a dynamically generated year using JavaScript.
Changes Made
new Date().getFullYear()to automatically display the current year.Before
The footer displayed a fixed year.

View :

After
The footer dynamically displays the current year.

View :

Note: There will be no change in the ui itself. I have only made the year being displayed here dynamic.
Testing