Issue #3096720 by Liam Morland, ebremner: date_is_all_day() returns FALSE when $granularity is not 'hour' or finer.