Events Made Easy Forums Bug fixed or feature request implemented Problem with events_list shortcode with this_week

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #43834
    Anonymous
    Inactive

    Franky,

    I’ve been struggling to work out why the following doesn’t show events on a Sunday:

    [events_list scope=today--this_week]

    Currently on my events list here:

    http://www.plainandsimple.tv/club-listings/

    I guess it’s because the end dates are on the Monday so I’d like the scope to use the start-date only.

    Is this possible via the shortcode or should I write a PHP function to generate Sunday +1 Day?

    Thanks

    Tom

    (Sorry- didn’t mean to post in Official Announcements!!!)

    #49851
    Franky
    Keymaster

    Hmmm … I just checked and the this_week takes from the beginning of this week+6days at most. But: it doesn’t take into account wether you want the week to start on Monday or Sunday (or whatever day).

    I need to fix that! So: moving to bugs.

    #49852
    Franky
    Keymaster
    #49853
    Anonymous
    Inactive

    Thanks Franky,

    That worked but it changed something else that I’d forgotten about in this thread:

    http://www.e-dynamics.be/bbpress/topic.php?id=1797

    Is this something that will be implemented or do I need to remember to change it each time I upgrade?

    Thanks

    #49854
    Franky
    Keymaster

    Hmmm …. I’ll add that to the code this evening 🙂

    #49855
    Franky
    Keymaster

    Done in trunk!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top