Bedework / bedework

An Enterprise Calendar and Scheduling System
Apache License 2.0
40 stars 9 forks source link

Ensure that all day events do not cross range boundaries #21

Closed spartanicus closed 10 years ago

spartanicus commented 10 years ago

All-day events retrieved using the SearchParamsAction (upcoming events, ongoing, listEvents, feeds) that fall one day outside the date range boundary are included in the result set. For example, a list that runs from January 5, 2014 through January 17, 2014 (20140105 thru 20140118 end-exclusive) will include all-day events from Jan 4th and Jan 18th.

bleibson commented 10 years ago

Need this fixed in 3.8 and 3.9, too, as it is affecting the feeds at existing sites (such as http://uaex.edu)

spartanicus commented 10 years ago

In 3.10, this appears to only exist in the forward direction: all day events will appear in following day. For example, an all-day event on June 30, will show up on July 1 ... BUT an all-day event on July 1 will not appear on June 30th. The all-day event on July 1 will show up on July 2. In the main listing, all-day events also appear on their actual day. (July 1's event shows up on July 1.)

The data feeds are a little more peculiar: the events appear to only show up on the follow day. Select a data feed for July 2, and you'll get the all-day event for July 1. Select a data feed for July 1, you'll get the all-day event for June 30. In both cases, you will not get the event for the given day.

spartanicus commented 10 years ago

Fixed