GNOME Bugzilla – Bug 628029
GDateTime missing get_week_of_year method
Last modified: 2010-09-06 10:55:26 UTC
Created attachment 168804 [details] [review] Patch to add g_date_time_get_week_of_year() The attached patch adds the following method: gint g_date_time_get_week_of_year (const GDateTime *datetime); It just calls the internal g_date_time_get_week_number method looking for the weeknumber only and returns that. The documentation above the function could probably use a little love, but it's a start.