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

Custom Page date format added via the Admin Panel does not display in the selection field #2149

Closed
petira opened this issue May 24, 2021 · 1 comment
Assignees

Comments

@petira
Copy link

petira commented May 24, 2021

If you add your custom Page date format via the Admin Panel, it will be saved in /user/config/system.yaml, but to display the date format in the selection field it is necessary to reload the page. This behavior is confusing.

However, it is good that it can be added. I do not know if this option was added in a later version, or I did not notice it before (getgrav/grav#2780), or maybe the above behavior confused me. So far, I have edited my custom Page data format directly in /user/config/system.yaml.

@mahagr
Copy link
Member

mahagr commented May 26, 2021

This happens because Grav uses only a single POST request and doesn't reload the page with 302.

@mahagr mahagr self-assigned this May 26, 2021
@mahagr mahagr added the bug label May 26, 2021
@mahagr mahagr added the fixed label May 26, 2021
@petira petira closed this as completed Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants