Comment 5 for bug 1261191

Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue where "Tomorrow 00:00" is displayed instead of "Tomorrow" can be fixed by changing src/utils.c generate_full_format_string_at_time()

        const gboolean full_day = then_end && (g_date_time_difference(then_end, then) >= G_TIME_SPAN_DAY);

to

        const gboolean full_day = then_end && (g_date_time_difference(then_end, then) >= G_TIME_SPAN_DAY || g_date_time_difference(then_end, then) == 0);

seems like the day event don't have a DTEND and that the code consider that they start and end at the same time. Either we should consider a length=0 as full day or we should fix the code to set "end" to a different value if that case