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

Metadata editor - Timezone in Datepicker dropdown does not match that set in the admin panel. #8617

Open
ByronCinNZ opened this issue Jan 24, 2025 · 3 comments

Comments

@ByronCinNZ
Copy link
Contributor

Describe the bug
Selected option for the datepicker interface timezone dropdown editor is "Zulu" by default when timezone is set to "Pacific/Auckland" in Admin Settings. The time displayed is Pacific/Auckland and out of agreement with what is shown as the selected timezone.

To Reproduce
Steps to reproduce the behavior:

  1. In administrator settings set timezone to Pacific/Auckland
  2. Create a new metadata record from template.
  3. Scroll down to Date entry
  4. See error in selected timezone

Expected behavior
Selected timezone should match that set in Administrator Settings for timezone

Screenshots

Image Image

Desktop (please complete the following information):

  • Browser - firefox, chrome, safari
  • GeoNetwork Version 4.2.5
  • Server Application - Tomcat 9 with Java 8

Additional context
Add any other context about the problem here.

@fxprunayre
Copy link
Member

You should be able to set the default editor timezone in

Image

The setting one is for the database storage and cron.

@ByronCinNZ
Copy link
Contributor Author

ByronCinNZ commented Jan 27, 2025

Thanks Francois,
Unfortunately, I tried this and cleared caches but that did not fix the problem. It still reports as Zulu in the editor after setting this to Pacific/Auckland

@ByronCinNZ
Copy link
Contributor Author

I tried it again and this time it worked as expected.
I would like to make one change however. Is there some way to change the "+13:00" for the timezone to "Pacific/Auckland"

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

No branches or pull requests

2 participants