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

404static.xhtml has an old date in the footer (2023 is hard-coded) #10527

Closed
BenediktMeierUIT opened this issue Apr 24, 2024 · 2 comments · Fixed by #10535
Closed

404static.xhtml has an old date in the footer (2023 is hard-coded) #10527

BenediktMeierUIT opened this issue Apr 24, 2024 · 2 comments · Fixed by #10535
Labels
Type: Bug a defect
Milestone

Comments

@BenediktMeierUIT
Copy link
Contributor

What steps does it take to reproduce the issue?
If you call up a flat page, an error page "404static.xhtml" appears. This still has an old date in the footer. Maybe you should adjust something there too?

Screenshots:
https://github.com/IQSS/dataverse/blob/develop/src/main/webapp/404static.xhtml

Screenshot from 2024-04-24 10-19-09

@BenediktMeierUIT BenediktMeierUIT added the Type: Bug a defect label Apr 24, 2024
@pdurbin
Copy link
Member

pdurbin commented Apr 24, 2024

@BenediktMeierUIT good idea. I've used something like this before:

let date = new Date();
document.getElementById("current-year").innerHTML = date.getFullYear() + " ";

Are you interested in making a pull request? 😄

@pdurbin pdurbin changed the title 404static.xhtml 404static.xhtml has an old date in the footer (2023 is hard-coded) Apr 24, 2024
@BenediktMeierUIT
Copy link
Contributor Author

yes, I will do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug a defect
Projects
None yet
2 participants