[glib: 2/6] gtimer: Document that g_time_val_from_iso8601() drops whitespace



commit b1fffbffbfe46ba0c15911ea0193bb204bdc6e8b
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Aug 3 14:19:21 2018 +0100

    gtimer: Document that g_time_val_from_iso8601() drops whitespace
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]