Re: glib1.3.5 : g_date_xxxx_week_of_year
- From: Jon Trowbridge <trow ximian com>
- To: GHF <jean-noel guiheneuf wanadoo fr>
- Cc: Havoc Pennington <hp redhat com>, "gtk-devel-list gnome org" <gtk-devel-list gnome org>
- Subject: Re: glib1.3.5 : g_date_xxxx_week_of_year
- Date: 28 Jun 2001 09:11:31 -0500
On 28 Jun 2001 16:37:49 +0200, GHF wrote:
> Havoc Pennington a écrit :
> > Though at that point, maybe g_date_get_week_of_year() taking a day of
> > the week argument would be appropriate.
> >
> > Havoc
>
> I think you are wrong ...
>
> Thursday doesn't define the beginning of the weeks but the first week of
> the year (which is different if the week starts on Sunday or on Monday).
>
> The glib1.3.5 routines are not in accordance with the weeks of the
> gtkcalendar widget ...
For better or for worse, the GDate routines are meant to behave in a
manner that matches the week-number codes in strftime.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]