Skip to content

Conversation

@rahul-vyas-dev
Copy link

@rahul-vyas-dev rahul-vyas-dev commented Jan 21, 2026

This pull request replaces the static copyright year in the footer with a dynamic year that updates automatically based on the current date. This ensures the footer always remains accurate without requiring manual updates every year.

fixes: #77

After
Screenshot 2026-01-21 203716

Summary by CodeRabbit

  • Bug Fixes
    • The copyright year on the landing page now automatically updates each year, eliminating the need for manual updates.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 21, 2026

📝 Walkthrough

Walkthrough

Updated the Landing page footer to dynamically display the current year in the copyright notice instead of using a hardcoded value. The change retrieves the year from the system date and inserts it into the copyright text.

Changes

Cohort / File(s) Summary
Dynamic Copyright Year
frontend/src/page/Landing.jsx
Added const year = new Date().getFullYear() and updated copyright text to use {year} instead of a hardcoded year value

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Poem

🐰 A dash of time, forever free,
The year now flows like clover tea,
No hardcoding, just let it grow,
The calendar whispers all we know! 📅✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and accurately summarizes the main change: replacing a static year with a dynamic year in the footer component.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@rahul-vyas-dev
Copy link
Author

@kumawatkaran523 , please check this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Outdated copyright year due to hardcoded value

1 participant