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. */