Skip to content

fix: update About copyright to dynamic year range#495

Closed
torlando-tech wants to merge 2 commits intorelease/v0.8.xfrom
fix/about-copyright-year
Closed

fix: update About copyright to dynamic year range#495
torlando-tech wants to merge 2 commits intorelease/v0.8.xfrom
fix/about-copyright-year

Conversation

@torlando-tech
Copy link
Copy Markdown
Owner

Summary

  • Copyright in About screen was hardcoded to "2025"
  • Now uses java.time.Year.now() to show "2025–" dynamically

Closes #490

Test plan

  • Open Settings > About — verify copyright shows "2025–2026"

🤖 Generated with Claude Code

The copyright notice was hardcoded to "2025". Uses java.time.Year.now()
to always show "2025–<current year>" so it never goes stale.

Closes #490

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Feb 18, 2026

Greptile Summary

Updated the copyright notice in the About screen from hardcoded "© 2025" to dynamic "© 2025–" using java.util.Calendar.getInstance().get(java.util.Calendar.YEAR).

Confidence Score: 5/5

  • This PR is safe to merge with no issues
  • Simple, well-tested change that correctly addresses API compatibility concerns and properly implements dynamic copyright year display
  • No files require special attention

Important Files Changed

Filename Overview
app/src/main/java/com/lxmf/messenger/ui/screens/settings/cards/AboutCard.kt Updated copyright to show dynamic year range using java.util.Calendar, properly addressing API compatibility concerns

Last reviewed commit: 08ddf41

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

1 file reviewed, 2 comments

Edit Code Review Agent Settings | Greptile

…/AboutCard.kt

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
@torlando-tech
Copy link
Copy Markdown
Owner Author

@greptileai

@torlando-tech
Copy link
Copy Markdown
Owner Author

closing in favor of #503

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.

1 participant