utils: let format_utc_offset handle microseconds

format_utc_offset can be called with the return value of
g_date_time_get_utc_offset returning microseconds in a gint64. It is
also still called with the return value of icaltimezone_get_utc_offset
in seconds. Deal with both.

https://bugzilla.gnome.org/show_bug.cgi?id=762438
This commit is contained in:
fosero
2016-02-23 22:05:24 -03:00
committed by Georges Basile Stavracas Neto
parent 83c9d27d90
commit 83cf97ecb3
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -121,6 +121,6 @@ void get_source_parent_name_color (GcalManager
gchar **name,
gchar **color);
gchar* format_utc_offset (gint offset);
gchar* format_utc_offset (gint64 offset);
#endif // __GCAL_UTILS_H__