Issue of the Standard # D0012


The documentation of the interface "g_date_is_leap_year" is incomplete

Detailed Description

Documentation of the interface g_date_is_leap_year does not mention, which year is considered to be a leap year.

Problem location(s) in the standard

Linux Standard Base Desktop Specification 3.1, Chapter 12. Libraries, 12.2 Interfaces for libglib-2.0;

Possible solutions

Adding the text: "Leap year is every year divisible by 4 unless that year is divisible by 100. If it is divisible by 100 it would be a leap year only if that year is also divisible by 400." after the sentence "Returning TRUE if the year is a leap year."


Gnome Bugzilla 491954


Fixed in gtk-glib - 2.16