Opened 20 months ago
Closed 20 months ago
#58065 closed defect (bug) (reported-upstream)
Calendar block is showing wrong previous month in gutenburg.
Reported by: | dhrumilk | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
Hello,
I have used the calendar block in WordPress, which shows the wrong previous month.
Step-by-step reproduction instructions
- Go to create a new post.
- Add a calendar block.
- and show below the previous link. The current month is April and the previous month is FEB instead of March.
also, I have created an issue in the Gutenberg repo.
https://github.com/WordPress/gutenberg/issues/49551
Attachments (1)
Change History (5)
#2
@
20 months ago
@chiragrathod103 Thanks for your response.
I have checked. it's not a bug.
Thanks again for correcting me.
#3
@
20 months ago
Bug Report
Description
Need some improvement on Calander Blog
Environment
- WordPress: 6.2
- PHP: 8.0.0
- Server: Apache/2.4.10 (Debian)
- Database: mysqli (Server: 5.5.59-MariaDB-1~wheezy / Client: 5.5.62)
- Browser: Chrome 111.0.0.0 (macOS)
- Theme: Twenty Twenty-Three 1.1
- MU-Plugins: None activated
- Plugins:
- Gutenberg 15.4.0
- WordPress Beta Tester 3.3.7
Steps to Reproduce
- Go to create a new post.
- Add a calendar block and show below the previous link.
- 🐞 Bug occurs The current month is April and the previous month is FEB instead of March
Expected Results
- ✅ I can't see any issues on above mentioned bug on my end.
Actual Results
- ❌ Indeed if we have some improvement on showing next month options in better UI design and look of the Calendar in near future releases.
#4
@
20 months ago
- Component changed from General to Editor
- Keywords needs-patch close removed
- Milestone Awaiting Review deleted
- Resolution set to reported-upstream
- Status changed from new to closed
- Type changed from feature request to defect (bug)
- Version trunk deleted
I'm closing this ticket because the reported situation (GB49551) is not a bug. The calendar only shows months with published posts.
If you want to suggest a different styling for the links, such as bold text in addition to the underline, you could open an enhancement issue on GitHub. Note, however, that color selections could easily cause problems with contrast (the block already has too many hard-coded colors).
That month's display is based on the existing posts/articles. so that was not a bug!
but yes you can do an improvement, in the calendar, only "_" is displayed below the date, so need to do more highlighting.