Jump to content

Hardcoded Events string


Go to solution Solved by Marc,

Recommended Posts

Posted

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

 

Posted

There also seems to be a problem with the short-form months, which are not translated.

Could contain: Text, Business Card, Paper, Number, Symbol

The code looks like this:

<span class='cEvents__monthNav__month'>{$monthObj->format( 'M' )}</span>

A working code from the Upcoming Events widget looks like this:

<time datetime='{$event->nextOccurrence( $today, 'startDate' )->mysqlDatetime()}' class='ipsCalendarDate'>
<span class='ipsCalendarDate_month' data-controller="core.global.core.datetime" data-time="{$event->nextOccurrence( $today, 'startDate' )->format('c')}" data-format="%b">{$event->nextOccurrence( $today, 'startDate' )->monthNameShort}</span>
</time>

 

  • 3 weeks later...
  • Solution
Posted

Just a quick note to let you know this has been resolved in the latest 4.7.4 release, which went out a short time ago. If you are still experiencing this issue after upgrading to that release, please let us know.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...