• Resolved Firela

    (@firela)


    Hi, I have kind of a curious bug.
    My schedule is divided into quarter-hourly intervals, when I try to schedule an item that has a duration of 2,5 or 3 hours or more, it displays the item only in a 15 minute block.
    e.g Test, monday, starttime 18:15, duration 2.5h. The schedule shows a block starting at 18:15 ending 18:30, rather than ending at 20:45.

    I tried to change my intervals to half-hourly and there is no problem.

    Please help.

    https://wordpress.org/plugins/weekly-schedule/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    The reason this is happening is because I did not create enough styles for this combination of time interval and duration.

    If you go to the Stylesheet Editor for Weekly Schedule in the menu, you will see that there are entries that go up to .ws-schedule tr.datarow8. When you are displaying items at quarterly intervals, you end up with items that take up eight rows in the table. Therefore, any item that is longer does not have a style properly defined.

    To correct this, just add some entries to the stylesheet editor and save the stylesheet:

    .ws-schedule tr.datarow9 {
    height: 630px;
    }

    .ws-schedule tr.datarow10 {
    height: 700px;
    }

    .ws-schedule tr.datarow11 {
    height: 770px;
    }

    As you can see, these just go up by increments of 70 pixels by default. Please confirm that this resolves your issue and consider donating to support this plugin’s development.

    Thread Starter Firela

    (@firela)

    Thanks Yannick, works like a charme 🙂

    Donation definitely on its way.

    Thanks again…

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Thank you for your support.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error with duration over 2h’ is closed to new replies.