utils: added date comparison method

icaltime_compare_date_only() has some problems when one of the dates
passed are marked as is_date and the other not.
This commit is contained in:
Erick Pérez Castellanos
2015-01-27 17:42:16 -05:00
parent 489100ad94
commit f2d84231a4
2 changed files with 27 additions and 0 deletions
+3
View File
@@ -90,6 +90,9 @@ ECalComponent* build_component_from_details (const gchar
const icaltimetype *initial_date,
const icaltimetype *final_date);
gint icaltime_compare_date (const icaltimetype *date1,
const icaltimetype *date2);
/* code brought from evolution */
gsize e_strftime_fix_am_pm (gchar *str,
gsize max,