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

[Post Date] Block controls don't show custom date formats #35854

Closed
kjellr opened this issue Oct 21, 2021 · 1 comment
Closed

[Post Date] Block controls don't show custom date formats #35854

kjellr opened this issue Oct 21, 2021 · 1 comment
Assignees
Labels
[Block] Post Date Affects the Post Date Block [Type] Bug An existing feature does not function as intended

Comments

@kjellr
Copy link
Contributor

kjellr commented Oct 21, 2021

It's possible to use the block markup to customize the date format for the post date block. For example:

<!-- wp:post-date {"format":"M","fontSize":"small"} /-->

^ This will display only the month. Formats like this are valid markup, and are interpreted just fine by the editor, except they're not correctly shown in the date format dropdown. If you use a custom format here, the field will just have the default selected:

Screen Shot 2021-10-21 at 3 26 31 PM

Instead, if would be great if that could say "Custom" or something like that.

Related: #34762, #35558

@kjellr kjellr added [Type] Bug An existing feature does not function as intended [Block] Post Date Affects the Post Date Block labels Oct 21, 2021
@ribaricplusplus ribaricplusplus self-assigned this Oct 22, 2021
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Oct 22, 2021
@torounit
Copy link
Member

It appears to have been fixed in #39209.

@torounit torounit removed the [Status] In Progress Tracking issues with work in progress label Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Date Affects the Post Date Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants