Added support for events spanning across multiple days