From: Dan Winship Date: Tue, 11 Oct 2011 23:28:59 +0000 (-0400) Subject: g_time_val_from_iso8601: clarify the docs a bit X-Git-Tag: 2.31.0~165 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=380ec80d07218123b8274ace506274f36af7c445;p=platform%2Fupstream%2Fglib.git g_time_val_from_iso8601: clarify the docs a bit --- diff --git a/glib/gtimer.c b/glib/gtimer.c index a1ba3f6..7e91fc3 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