Support » Plugin: Editorial Calendar » [BugFix] Last Day of Month has month-future class

  • Resolved Dan Bernardic

    (@dbernar1)


    Hey again guys,

    In edcal.js, line 694:

    edcal.firstDayOfNextMonth = Date.today().moveToLastDayOfMonth().clearTime();

    Take a look at Nov. 30, and you will see it has the look/css class of month-future.

    If you change to something like:

    edcal.firstDayOfNextMonth = Date.today().moveToLastDayOfMonth().addDays(1).clearTime();

    It will probably solve this bug.

    Thanks for sharing your software.

    http://wordpress.org/extend/plugins/editorial-calendar/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[BugFix] Last Day of Month has month-future class’ is closed to new replies.