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

Set sim welcome screen copyright date dynamically #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

XeduR
Copy link
Contributor

@XeduR XeduR commented Dec 5, 2023

By using the first four digits of the Solar2D build number instead of a hardcoded date, the copyright text will automatically match the year that particular build was created.

This'll work for all official builds. Locally made builds tend to have a version number of 2100.9999, i.e. they'd show a copyright date of "2020-2100", but I think those are such rare instances and people who're doing those builds won't mind.

By using the first four digits of the Solar2D build number instead of a hardcoded date, the copyright text will automatically match the year that particular build was created.

This'll work for all official builds. Locally made builds tend to have a version number of 2100.9999, i.e. they'd show a copyright date of "2020-2100", but I think those are such rare instances and people who're doing those builds won't mind.
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