[glib] g_time_val_from_iso8601: clarify the docs a bit
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] g_time_val_from_iso8601: clarify the docs a bit
- Date: Tue, 11 Oct 2011 23:33:04 +0000 (UTC)
commit 380ec80d07218123b8274ace506274f36af7c445
Author: Dan Winship <danw gnome org>
Date: Tue Oct 11 19:28:59 2011 -0400
g_time_val_from_iso8601: clarify the docs a bit
glib/gtimer.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]