• Hello,

    Thank you in advance for the great plugin. It helps us enormously to show the dates on our website. Please do not stop the updates.

    Now to my question:

    Is there a way to look back from today to date x?

    e.g .: from today until 01.01.2021

    There is an offset parameter, but it only looks back x days / months. As soon as a month has passed with the offset variant, a month is missing at the beginning.

    Many Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author anmari

    (@anmari)

    As per https://icalevents.com/support/documentation/shortcodes/#parameters you can specify a start of date x.

    It does seem like a rather odd thing to do, over time that will get further & further in the past. There is no way to say ‘between now and date x’. There do need to be limits (like total numbver of events or total number of days/months) so there is a risk that at some point only the old posts from day x will show OR that you will have a very long list.

    Surely something like a negative offset (eg: always 12 months back) would suit better?

    • daysoffset=n (number of days – can be negative, useful if you want to show some history, eg start from 7 days ago?)
    • monthsoffset=n (number of months – can be negative, will override days and hours)
    • This reply was modified 3 years, 4 months ago by anmari. Reason: clarification
Viewing 1 replies (of 1 total)
  • The topic ‘Looking back from today to date X’ is closed to new replies.