Skip to content

Conversation

@rlorenzo
Copy link
Contributor

To celebrate the New Year, we should automatically update the year in the footer to the current year.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the copyright year in footer components from a hardcoded "2023" to dynamically display the current year. The changes ensure the copyright year automatically stays current without requiring manual updates.

Key Changes:

  • Updated C# Razor views to use @DateTime.Now.Year for dynamic year rendering
  • Updated Vue.js components to use new Date().getFullYear() for dynamic year rendering

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
web/Views/Shared/_VIPERLayout.cshtml Updated footer copyright to use DateTime.Now.Year instead of hardcoded "2023"
web/Views/Shared/VIPERLayoutSimplified.cshtml Updated footer copyright to use DateTime.Now.Year instead of hardcoded "2023"
VueApp/src/layouts/ViperLayoutSimple.vue Added currentYear constant using getFullYear() and updated footer template to use it
VueApp/src/layouts/ViperLayout.vue Added currentYear constant in setup function and updated footer template to use it

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@bsedwards bsedwards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳

@rlorenzo rlorenzo merged commit 19c9ece into main Dec 20, 2025
11 checks passed
@rlorenzo rlorenzo deleted the update-year branch December 20, 2025 02:02
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.

3 participants