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 · 4 comments
Open

Add prefix / suffix to Post Date block #47738

druxstr opened this issue Feb 3, 2023 · 4 comments
Assignees
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.

@carolinan carolinan self-assigned this Apr 18, 2024
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

7 participants