Viewing 15 replies - 1 through 15 (of 38 total)
  • following

    I have the exact issue. November 1st should be a Sunday, but the day header above it says Saturday.

    Same problem here. Under Advanced, I set Week Starts On to “Custom” and then choose Sunday from the dropdown, but in fact the first column in the calendar is Saturday, and it shows November 1 being on Saturday. It seems that everything is just off by a day.

    I’ve tried it in both Chrome and IE. Same results.

    Following!!!

    following.

    This is exactly my problem.

    Help!

    In looking at the html generated for the page, it is a matter of moving the 0 day from the first cell in the row to the last.

    in file
    includes\calendars\views\default-calendar-grid.php after lines 226-228 which goes

    $week_starts = $calendar->week_starts;
    $week_days_short = simcal_get_calendar_names_i18n( 'day', 'short' );
    $week_days_full  = simcal_get_calendar_names_i18n( 'day', 'full' );

    you can add this code:

    $wds[0] =  $week_days_short[6]; $wdf[0] = $week_days_full[6];
    $wds[1] =  $week_days_short[0]; $wdf[1] = $week_days_full[0];
    $wds[2] =  $week_days_short[1]; $wdf[2] = $week_days_full[1];
    $wds[3] =  $week_days_short[2]; $wdf[3] = $week_days_full[2];
    $wds[4] =  $week_days_short[3]; $wdf[4] = $week_days_full[3];
    $wds[5] =  $week_days_short[4]; $wdf[5] = $week_days_full[4];
    $wds[6] =  $week_days_short[5]; $wdf[6] = $week_days_full[5];
    $week_days_short = $wds;
    $week_days_full = $wdf;

    i know it’s ugly but its works and I have only 5 minutes now

    My week starts on Sunday, so I changed the code to

    $wds[0] = $week_days_short[1]; $wdf[0] = $week_days_full[1];
    $wds[1] = $week_days_short[2]; $wdf[1] = $week_days_full[2];
    $wds[2] = $week_days_short[3]; $wdf[2] = $week_days_full[3];
    $wds[3] = $week_days_short[4]; $wdf[3] = $week_days_full[4];
    $wds[4] = $week_days_short[5]; $wdf[4] = $week_days_full[5];
    $wds[5] = $week_days_short[6]; $wdf[5] = $week_days_full[6];
    $wds[6] = $week_days_short[0]; $wdf[6] = $week_days_full[0];
    $week_days_short = $wds;
    $week_days_full = $wdf;

    and it worked perfectly.

    This is all well and good, but should this be necessary? Will we get this fixed? Seems like kind of a big problem when your calendar program doesn’t get the days right, right?

    I have this problem too, as well as others with my grid calendar not staying within the page. If this is going to be fixed, I’ll wait it out and leave my start date as Monday (though we would really prefer Sunday). Is there any way to find out if/when this might be corrected?

    I had this problem even before I set my start day to Sunday. It was already bunged up. I was hoping switching to Sunday would fix it. Nope.

    Plugin Contributor Nick Young

    (@nickyoung87)

    This should be fixed in the latest update to 3.0.2, can you let me know if it is resolved for you now?

    If not could you let me know what version you are running of the plugin, and also what version of WordPress you are running?

    Thanks!

    I just updated both in the last week. I’ll check versions, tho.

    Nice. Fixed. Thanks.

    Thread Starter chrisgadlage

    (@chrisgadlage)

    All fixed! Thanks, Nick.
    New roll outs and all…loads of stresses and fixes. Thanks for being so responsive.

Viewing 15 replies - 1 through 15 (of 38 total)
  • The topic ‘Days of Week Incorrect’ is closed to new replies.