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

Add prefix / suffix to Post Date block #47738

Open
druxstr opened this issue Feb 3, 2023 · 8 comments
Open

Add prefix / suffix to Post Date block #47738

druxstr opened this issue Feb 3, 2023 · 8 comments
Labels
[Block] Post Date Affects the Post Date Block [Type] Enhancement A suggestion for improvement.

Comments

@druxstr
Copy link

druxstr commented Feb 3, 2023

What problem does this address?

The Post Date block outputs a date with no explicit context. Example :

2 Febuary 2023

This could be a "Last modified date" or a "Published on" date.

There's no way to tell.

What is your proposed solution?

Add an optional prefix / suffix to Post Date, the same way the Category block does (see PR #40559).

prefix date suffix

For instance :

Published on : 2 Febuary 2023

This would allow to use 2 Post Date blocks on the same post, which may solve #46645 :

Published on : 2 Febuary 2023
Last Modified : 3 Febuary 2023

@github-actions
Copy link

github-actions bot commented Aug 3, 2023

Hi,
This issue has gone 180 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps.
Thanks for helping out.

@iamtakashi
Copy link

+1 This will be a nice addition to the block because we wouldn't see the prefix if the post hasn't been modified.

@benimub
Copy link

benimub commented Aug 29, 2023

+1

@jenxi
Copy link

jenxi commented Sep 25, 2023

+1 This would definitely make it easier to label published/modified dates.

@remkus
Copy link

remkus commented Mar 5, 2025

Quite stumped why this hasn't been given any prio. This block is basically useless with being able to prefix/suffix it.

@carolinan
Copy link
Contributor

@remkus Reading the comments on the linked PR, I am assuming that this is blocked because it is expected to use a block binding instead of a prefix that uses a rich text input.

@carolinan
Copy link
Contributor

I mention block bindings because afaik the "bits" proposal has not seen any movement since June 2024.

@remkus
Copy link

remkus commented Mar 8, 2025

Thanks, @carolinan

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] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

8 participants