From b1fffbffbfe46ba0c15911ea0193bb204bdc6e8b Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 3 Aug 2018 14:19:21 +0100 Subject: [PATCH] gtimer: Document that g_time_val_from_iso8601() drops whitespace Signed-off-by: Philip Withnall --- glib/gtimer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glib/gtimer.c b/glib/gtimer.c index e95ac0ead..db2f1b565 100644 --- a/glib/gtimer.c +++ b/glib/gtimer.c @@ -345,6 +345,8 @@ mktime_utc (struct tm *tm) * zone indicator. (In the absence of any time zone indication, the * timestamp is assumed to be in local time.) * + * Any leading or trailing space in @iso_date is ignored. + * * Returns: %TRUE if the conversion was successful. * * Since: 2.12