• Hi,

    Our WordPress site has Monday shown as the first day of the week and the ICS calendar displays a month view correctly, in that the first day of each week is Monday. HOWEVER, we have multi-day events and we have combinemultiday=”true” set for the calendar and it sets the CSS class of dow_0 on Sunday instead of Monday. Consequently, a multi-day event which starts on Saturday will have a description visible on Saturday and Sunday and nothing on Monday (a bit ugly and confusing).

    From what I see, since it’s an add of classes, I’d either need to add some javascript to move around the classes or something would need to be fixed in ics-calendar/functions.php.

    Your insight would be very valuable!

    Thanks!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author room34

    (@room34)

    Hi… I’m sorry for this issue. There is a bug in the code for the combinemultiday parameter, which always treats Sunday as the first day of the week rather than honoring the site’s configuration. (It has to do with PHP logic around the fact that Sunday is day “0” numerically.)

    This is a known issue and is slated to be fixed in the next point update. I would guess it should be available in early September.

    Thread Starter dleigh

    (@dleigh)

    Thanks for the quick reply and the good news of a coming fix!

    Thread Starter dleigh

    (@dleigh)

    Hi,

    We’re on Version 10.12.0 now and I saw this in the fixes for version 10.11.5.2: CSS: Fixed issue of week numbers wrapping in certain themes.

    This may NOT be the fix I’m waiting for, but at any rate, the fix I’m waiting for is still not there. Sunday is still “dow_0” and that needs to be for Monday on our site.

    Can you give me a new estimate on when this will be fixed please?

    Thanks!

    Plugin Author room34

    (@room34)

    The CSS code for the days will not be changed. Those numbers correspond to the numerical values for days of the week in PHP code and are needed for some functionality. The solution to combinemultiday on calendars that begin on other days of the week is still forthcoming.

    The fixed issue you noted is something else — there’s an option to show week numbers at the left side of the table, and in some cases two-digit week numbers were wrapping to two lines.

    I don’t have an exact date for the combinemultiday fix. I apologize for the delays; I was dealing with some family matters that prevented me from working on the plugin at all in August and September.

    • This reply was modified 1 year, 4 months ago by room34.
    Thread Starter dleigh

    (@dleigh)

    Ok – thanks for the update!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘First day of week incorrect in multi-day event’ is closed to new replies.