Skip to content

Date range is displayed incorrectly when start and end dates are on same day of the month #359

@dboulet

Description

@dboulet

I have an event which begins on April 9th, and ends on May 9th. I output the date in my theme using this code:

eo_format_event_occurrence( FALSE, FALSE, 'l, F j, Y', '', '–', FALSE );

The date is displayed like this:

Saturday, April–Monday, May 9, 2016

It should be:

Saturday, April 9–Monday, May 9, 2016

The day in the start date is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions