-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
[Block] Post DateAffects the Post Date BlockAffects the Post Date Block[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
Description
In the ‘Date Block,’ the current date formats available in the block settings panel are example dates. However, it would be more intuitive and enhance the user experience to display the latest date instead. This ensures synchronisation when working with real-time content, as most of the users tend to add this block when working with the post before publishing, so getting to see the current date that they are going to place from the dropdown makes sense.
Additionally, it improves the display of relative timestamps (e.g., “a second ago,” “2 minutes ago”), aligning them with the actual post update time for a more cohesive experience.
Step-by-step reproduction instructions
- Add a new post
- Insert a Date Block
- In the block's settings panel, locate the Choose a format option.
- Click on the dropdown to reveal various date format options.
- Notice that the options shown don't have the latest date/time.
Screenshots, screen recording, code snippet
Environment info
- WordPress 6.7.2
- Gutenberg 20.3.0-rc.2
- Mac OS
- Chrome
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Metadata
Metadata
Assignees
Labels
[Block] Post DateAffects the Post Date BlockAffects the Post Date Block[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
