From: Matthias Clasen Date: Thu, 11 Sep 2008 04:21:17 +0000 (+0000) Subject: Documentation improvements X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=6848d2578dd9b6ec4b57bd874f6872959cd3b201;p=dana%2Fcg-glib.git Documentation improvements svn path=/trunk/; revision=7453 --- diff --git a/ChangeLog b/ChangeLog index 0be95a53..e9fb7ebb 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 2b4bebf3..68b77921 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. */