From 380ec80d07218123b8274ace506274f36af7c445 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 11 Oct 2011 19:28:59 -0400 Subject: [PATCH] g_time_val_from_iso8601: clarify the docs a bit --- glib/gtimer.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/glib/gtimer.c b/glib/gtimer.c index a1ba3f67b..7e91fc3ae 100644 --- a/glib/gtimer.c +++ b/glib/gtimer.c @@ -328,6 +328,11 @@ mktime_utc (struct tm *tm) * Converts a string containing an ISO 8601 encoded date and time * to a #GTimeVal and puts it into @time_. * + * @iso_date must include year, month, day, hours, minutes, and + * seconds. It can optionally include fractions of a second and a time + * zone indicator. (In the absence of any time zone indication, the + * timestamp is assumed to be in local time.) + * * Return value: %TRUE if the conversion was successful. * * Since: 2.12