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

Changed the copyright year to be shown in hex #3842

Merged
merged 1 commit into from
Nov 18, 2024
Merged

Conversation

BPC2004
Copy link
Contributor

@BPC2004 BPC2004 commented Nov 13, 2024

Closes #3841.

Summary

Changed the copyright year to be shown in hex

How to test

  1. Go to bottom of page
  2. Check if the hexadecimal representation of the copyright year is correct

@BPC2004 BPC2004 added the feature Issues regarding a complete new feature label Nov 13, 2024
@ColonelPhantom
Copy link
Contributor

This can also be done without an additional context processor:

{% now "Y" as currentyear %}
<strong>Copyright 0x{{ currentyear|add:0|stringformat:"X" }} {% trans 'Study Association Thalia' %}</strong>

@BPC2004 BPC2004 force-pushed the 3841-year-to-hexadecimal branch from eeef3ef to 76676fd Compare November 13, 2024 22:50
@BPC2004 BPC2004 force-pushed the 3841-year-to-hexadecimal branch from 76676fd to fa583d3 Compare November 13, 2024 22:52
Copy link
Contributor

@T8902 T8902 left a comment

Choose a reason for hiding this comment

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

Fine

@T8902 T8902 merged commit 3becdc5 into master Nov 18, 2024
8 checks passed
@T8902 T8902 deleted the 3841-year-to-hexadecimal branch November 18, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issues regarding a complete new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change the copyright year to be in hexadecimal instead of decimal.
3 participants