Hey, Great module. Not sure what happens in French and other non-English LTR languages, but there is a problem in languages that need to translate the date('l') format and cannot use it directly (for example Hebrew). The problem occurs in the theme function, line 348
if (in_array(date('l', $timestamps), $week_days)) {
this is never true, because the weekdays are translated and the date isn't, instead entering line 385
$i == 1 ? $disp++ : '' ;
incrementing both $disp and $delt in eternity and causing an endless loop ($delt always remains smaller than $disp).
The endless loop is fixed by changing line 348 to this (adding a t() around the date())
if (in_array(t(date('l', $timestamps)), $week_days)) {.
I've simply overriden the theme function and added the t() but it should probably be fixed in the default function as well.
Dana
Comments
Comment #1
gdana commented