[glib] Add comment to g_date_set_time_val about local timezone.
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Add comment to g_date_set_time_val about local timezone.
- Date: Sun, 1 Aug 2010 05:22:29 +0000 (UTC)
commit e7c7e46cf20cbca1684cecd1ba45e5555797844e
Author: Stef Walter <stef memberwebs com>
Date: Sun Aug 1 07:14:43 2010 +0200
Add comment to g_date_set_time_val about local timezone.
Local time zone is used in conversion during g_date_set_time_val().
We now mention this in the documentation.
Fixes bug #625500
glib/gdate.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/glib/gdate.c b/glib/gdate.c
index 723a3ba..01acbc4 100644
--- a/glib/gdate.c
+++ b/glib/gdate.c
@@ -945,6 +945,8 @@ g_date_set_time (GDate *date,
* @tv_usec member is ignored, because #GDate can't make use of the
* additional precision.
*
+ * The time to date conversion is done using the user's current timezone.
+ *
* Since: 2.10
*/
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]