Great plugin! Love that you share so many features in the free version. So, I noticed a bug where the date format gets weird when using shortcode in the following conditions:
Calendar Type: Default
View: List
Span: 1 Day
Hide Header: No
Compact List: Yes
Limit Visible Events: No
Expand Multi-day events: Yes
Theme: Light
All other settings: default
Embedded with shortcode
The automatically generated, default calendar page formats it correctly (e.g., “May 18, 2023”), but the short-code version formats it with the year first (2023, May 18).
Thanks for reaching out to us as well as the positive feedback.
With respect to your query here, I have carried out tests on the date format issue raised here and I do not seem to replicate it from my end. Could you perhaps navigate to the Settings > General section and ensure that you set your date format to “F j, Y”.
I can confirm that Settings > General is configured to “F j, Y” as directed, but the issue persists.
Also, I can reiterate, it’s not the event dates that are the problem (and changing date format works as expected). It just the <h3> title of the calendar that’s the issue, and only when using short codes.
Non-shortcode version:
Version using shortcode
This reply was modified 1 year, 4 months ago by Erich.
In this case, sorry I’m not sure I understand you on this if it has nothing to do with the date format. Do you mind elaborating on the issue you have with the <h3> tag?
Thanks again for your help! I thought this would be easier if I just made a super-short screencast of the problem. This video on YouTube is about 90s long, and I demonstrate what the bug is more clearly.
In this case, I have carried out tests from my end based on your video and I do not seem to trace the issue with the date formatting display. It’s likely that you could be having something altering the formatting within your website. Could you perhaps try adding the Shortcode to a new page, using the default WordPress editor and not a page builder.
I hate to say it, but you’re right. It appears to be an issue with the Divi theme. Switching to a default theme on a test site causes the dates to format correctly. I apologize for using your time, but I’m grateful for the support!
I’m back. I spoke too soon. It might be some type of responsive formatting thing in your javascript. Here’s what the Divi folks say:
Hey there Erich!
The issue occurs since the shortcode is added to a narrower column and the plugin seems to convert the time format that way when there is not much width to use.
For example, using the default WordPress editor instead of Divi Builder, the same result is shown when the container is narrower. See the screenshot for it:
I’m afraid, the functionality of the date is handled by the plugin and not Divi. You may want to reach out to the plugin’s support to let them know about the issue. They should be able to provide more insights and fix the problem if ever needed.
In this case, I have carried out tests from my end while using narrow columns and I do not seem to trace such an issue while using the default WordPress editor. The calendar display on the link that you also shared seems distorted and not using the correct HTML used within the calendar. This signifies that there is something within your site causing a conflict in rendering the calendar. I would still recommend carrying out the plugin conflict test to identify the plugin causing this.
In this case, the development team will be reviewing the issue and carry out any further actions needed. I would recommend keeping an eye out on the thread.
Please feel free to reach out once again in case of any questions.
Kind Regards,
John
Viewing 12 replies - 1 through 12 (of 12 total)
The topic ‘Date Format for List View with Shortcode’ is closed to new replies.