• Erich

    (@erichboileau)


    Hello!

    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).

    It’s easy to see from the examples below:

    Default calendar page: https://hollandaquatic.org/calendar/50m-pool-1a/
    Page with shortcode: https://hollandaquatic.org/schedule/

    • This topic was modified 1 year, 4 months ago by Erich.

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support john

    (@johnweru)

    Hi there,

    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”.

    Let us know if this gets to help.

    Kind Regards,

    John

    Thread Starter Erich

    (@erichboileau)

    Hi john,

    Thanks for getting back to me!

    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.
    Plugin Support john

    (@johnweru)

    Hi there,

    Thanks for keeping in touch with us.

    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?

    I look forward to your reply.

    Kind Regards,

    John

    Thread Starter Erich

    (@erichboileau)

    John,

    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.

    Plugin Support john

    (@johnweru)

    Hi there,

    Thanks for sharing the video.

    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.

    Let us know how it goes.

    Kind Regards,

    John

    Thread Starter Erich

    (@erichboileau)

    John,

    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!

    • Erich
    Thread Starter Erich

    (@erichboileau)

    John,

    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.

    I hope that helps!

    Here’s that demo URL: https://hollandaquastg.wpengine.com/schedule-v2-0/

    Thanks again for all your help so far!

    Plugin Support john

    (@johnweru)

    Hi there,

    Thanks for keeping in touch with us.

    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.

    Let us knowhow it goes.

    Kind Regards,

    John

    Thread Starter Erich

    (@erichboileau)

    Hi John,

    Thanks again for your great support and follow up through this process!

    I’ve got an updated test link for you. For this one, we have:

    https://hollandaquastg.wpengine.com/schedule-v2-0/

    1. Disabled every plugin except for Simple Calendar.
    2. Switched to fresh install of Twenty Twenty-Three theme
    3. The only content in our page is text and an HTML block (to force constricted width) for the second example.

    This is a tricky one!

    Plugin Support john

    (@johnweru)

    Hi there,

    Sorry about this issue.

    In this case, I was in a position to replicate the issue based on the above. I have gone ahead and reported this issue here so that it is looked into.

    Kindly bear with us in the meantime and apologies for the inconvenience that this has caused.

    Regards,
    John

    Thread Starter Erich

    (@erichboileau)

    John,

    Thanks again for all your help with this so far! Thanks for putting this on the bugs list. I hope it’s a simple fix. 🙂

    – Erich

    Plugin Support john

    (@johnweru)

    Hi Erich,

    Thanks for keeping in touch with us.

    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.