From 6848d2578dd9b6ec4b57bd874f6872959cd3b201 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 11 Sep 2008 04:21:17 +0000 Subject: [PATCH] Documentation improvements svn path=/trunk/; revision=7453 --- ChangeLog | 7 +++++++ glib/gdate.c | 7 +++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0be95a538..e9fb7ebbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-09-10 Matthias Clasen + + Bug 551731 – g_date_set_time[_t] docs should mention what timezone + + * glib/gdate.c (g_date_set_time, g_date_set_time_t): Documentation + improvements proposed by Owen Taylor. + 2008-09-10 Matthias Clasen Bug 551410 – gtestutils.c: using printf without prototype diff --git a/glib/gdate.c b/glib/gdate.c index 2b4bebf37..68b779217 100644 --- a/glib/gdate.c +++ b/glib/gdate.c @@ -861,7 +861,9 @@ g_date_set_parse (GDate *d, * @date: a #GDate * @timet: time_t value to set * - * Sets the value of a date from a time_t value. + * Sets the value of a date to the date corresponding to a time + * specified as a time_t. The time to date conversion is done using + * the user's current timezone. * * To set the value of a date to the current day, you could write: * |[ @@ -919,7 +921,8 @@ g_date_set_time_t (GDate *date, * @date: a #GDate. * @time_: #GTime value to set. * - * Sets the value of a date from a #GTime value. + * Sets the value of a date from a #GTime value. + * The time to date conversion is done using the user's current timezone. * * @Deprecated:2.10: Use g_date_set_time_t() instead. */